diff options
Diffstat (limited to 'test/LLVMC/C/emit-llvm-opt.c')
-rw-r--r-- | test/LLVMC/C/emit-llvm-opt.c | 2 |
1 files changed, 2 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" |