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