diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2010-10-14 13:43:20 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2010-10-14 13:43:20 +0000 |
commit | 263cfecd4f0c115ee057ea02b5dca6506de6de63 (patch) | |
tree | b2461ce87c2aef1f223454a20aee30f9b3fed7f9 /test/LLVMC | |
parent | dea1c5b5d3f06af6d0556cb8bd5b69af70193a05 (diff) | |
download | external_llvm-263cfecd4f0c115ee057ea02b5dca6506de6de63.zip external_llvm-263cfecd4f0c115ee057ea02b5dca6506de6de63.tar.gz external_llvm-263cfecd4f0c115ee057ea02b5dca6506de6de63.tar.bz2 |
Comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116476 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/LLVMC')
-rw-r--r-- | test/LLVMC/C/emit-llvm-opt.c | 2 | ||||
-rw-r--r-- | test/LLVMC/C/emit-llvm.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/LLVMC/C/emit-llvm-opt.c b/test/LLVMC/C/emit-llvm-opt.c index ab670e9..50710cf 100644 --- a/test/LLVMC/C/emit-llvm-opt.c +++ b/test/LLVMC/C/emit-llvm-opt.c @@ -1,3 +1,5 @@ +// Check that -emit-llvm [-S] works with -opt. + // RUN: llvmc -c -opt -emit-llvm -o - %s | llvm-dis | grep "@f0()" | count 1 // RUN: llvmc -c -opt -emit-llvm -S -o - %s | grep "@f0()" | count 1 // RUN: llvmc --dry-run -c -opt -emit-llvm %s |& grep "^opt" diff --git a/test/LLVMC/C/emit-llvm.c b/test/LLVMC/C/emit-llvm.c index 58ac17e..56a1e30 100644 --- a/test/LLVMC/C/emit-llvm.c +++ b/test/LLVMC/C/emit-llvm.c @@ -1,3 +1,5 @@ +// Check that -emit-llvm [-S] works correctly. + // RUN: llvmc -c -emit-llvm -o - %s | llvm-dis | grep "@f0()" | count 1 // RUN: llvmc -c -emit-llvm -S -o - %s | grep "@f0()" | count 1 // XFAIL: vg_leak |