diff options
Diffstat (limited to 'tests/hello_world.cpp')
-rw-r--r-- | tests/hello_world.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/hello_world.cpp b/tests/hello_world.cpp new file mode 100644 index 00000000..441d892b --- /dev/null +++ b/tests/hello_world.cpp @@ -0,0 +1,9 @@ +#include<stdio.h> + +class Test {}; // This will fail in C mode + +int main() { + printf("hello, world!\n"); + return 1; +} + |