mirror of
https://github.com/claunia/clion-custom-defined-compiler-examples.git
synced 2025-12-16 19:24:48 +00:00
TI MSP CGT added
This commit is contained in:
16
CMake-Texas-Instruments-MSP430-CGT/cmain.c
Normal file
16
CMake-Texas-Instruments-MSP430-CGT/cmain.c
Normal file
@@ -0,0 +1,16 @@
|
||||
#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!");
|
||||
}
|
||||
Reference in New Issue
Block a user