diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-30 06:23:29 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-30 06:23:29 +0000 |
commit | 34f376281f0bf013a6a0559193e17074e3d3647b (patch) | |
tree | bc4df5cf11071d55c8a498b544ce08858fef2a02 /test/LLVMC | |
parent | 6be4ffc7c3752702e06e3fbbeb7aaf4fe7023eff (diff) | |
download | external_llvm-34f376281f0bf013a6a0559193e17074e3d3647b.zip external_llvm-34f376281f0bf013a6a0559193e17074e3d3647b.tar.gz external_llvm-34f376281f0bf013a6a0559193e17074e3d3647b.tar.bz2 |
Fix: 'sink' handling was broken.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51750 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/LLVMC')
-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 0000000..d1dde41 --- /dev/null +++ b/test/LLVMC/sink.c @@ -0,0 +1,12 @@ +/* + * Check that the 'sink' options work. + * RUN: llvmc2 -v -Wall %s -o %t |& grep "Wall" + * RUN: ./%t | grep hello + */ + +#include <stdio.h> + +int main() { + printf("hello\n"); + return 0; +} |