mirror of
https://github.com/claunia/clion-custom-defined-compiler-examples.git
synced 2025-12-16 19:24:48 +00:00
17 lines
233 B
C
17 lines
233 B
C
|
|
#include <stdio.h>
|
||
|
|
|
||
|
|
#pragma message ("Compile C")
|
||
|
|
int getInt();
|
||
|
|
long long fn() {
|
||
|
|
return 3ll;
|
||
|
|
}
|
||
|
|
|
||
|
|
void fan(unsigned int x) {
|
||
|
|
const int res = x == 123;
|
||
|
|
if (x == 456) {}
|
||
|
|
}
|
||
|
|
|
||
|
|
void c_main() {
|
||
|
|
puts("Hello, World from C!");
|
||
|
|
}
|