summaryrefslogtreecommitdiffstats
path: root/test cases/cmake/25 assembler/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/cmake/25 assembler/main.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/test cases/cmake/25 assembler/main.c b/test cases/cmake/25 assembler/main.c
new file mode 100644
index 0000000..5aef967
--- /dev/null
+++ b/test cases/cmake/25 assembler/main.c
@@ -0,0 +1,18 @@
+#include <stdint.h>
+#include <stdio.h>
+
+int32_t cmTestFunc(void);
+
+int main(void)
+{
+ if (cmTestFunc() > 4200)
+ {
+ printf("Test success.\n");
+ return 0;
+ }
+ else
+ {
+ printf("Test failure.\n");
+ return 1;
+ }
+}