diff options
Diffstat (limited to 'test/LLVMC/C/wall.c')
-rw-r--r-- | test/LLVMC/C/wall.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/LLVMC/C/wall.c b/test/LLVMC/C/wall.c new file mode 100644 index 0000000..f676099 --- /dev/null +++ b/test/LLVMC/C/wall.c @@ -0,0 +1,12 @@ +/* + * Check that -Wall works as intended + * RUN: llvmc -Wall %s -o %t + * RUN: %abs_tmp | grep hello + */ + +#include <stdio.h> + +int main() { + printf("hello\n"); + return 0; +} |