summaryrefslogtreecommitdiff
path: root/test/LLVMC
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-10-14 13:43:20 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-10-14 13:43:20 +0000
commit263cfecd4f0c115ee057ea02b5dca6506de6de63 (patch)
treeb2461ce87c2aef1f223454a20aee30f9b3fed7f9 /test/LLVMC
parentdea1c5b5d3f06af6d0556cb8bd5b69af70193a05 (diff)
downloadllvm-263cfecd4f0c115ee057ea02b5dca6506de6de63.tar.gz
llvm-263cfecd4f0c115ee057ea02b5dca6506de6de63.tar.bz2
llvm-263cfecd4f0c115ee057ea02b5dca6506de6de63.tar.xz
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.c2
-rw-r--r--test/LLVMC/C/emit-llvm.c2
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 ab670e98e9..50710cf9db 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 58ac17e151..56a1e30b2e 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