From e264f62ca09a8f65c87a46d562a4d0f9ec5d457e Mon Sep 17 00:00:00 2001 From: Shih-wei Liao Date: Wed, 10 Feb 2010 11:10:31 -0800 Subject: Check in LLVM r95781. --- test/LLVMC/C/sink.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/LLVMC/C/sink.c (limited to 'test/LLVMC/C/sink.c') diff --git a/test/LLVMC/C/sink.c b/test/LLVMC/C/sink.c new file mode 100644 index 0000000..bdff340 --- /dev/null +++ b/test/LLVMC/C/sink.c @@ -0,0 +1,12 @@ +/* + * Check that the 'sink' options work. + * RUN: llvmc -v -Wall %s -o %t |& grep "Wall" + * RUN: %abs_tmp | grep hello + */ + +#include + +int main() { + printf("hello\n"); + return 0; +} -- cgit v1.1