summaryrefslogtreecommitdiffstats
path: root/tests/cpp-compiler/c-compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cpp-compiler/c-compile.c')
-rw-r--r--tests/cpp-compiler/c-compile.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/cpp-compiler/c-compile.c b/tests/cpp-compiler/c-compile.c
new file mode 100644
index 000000000..75fdbdaa4
--- /dev/null
+++ b/tests/cpp-compiler/c-compile.c
@@ -0,0 +1,10 @@
+//TEST(smoke):CPP_COMPILER_EXECUTE:
+
+#include <stdlib.h>
+#include <stdio.h>
+
+int main(int argc, char** argv)
+{
+ printf("Hello World!\n");
+ return 0;
+}