summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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