diff options
author | Duncan Sands <baldrick@free.fr> | 2010-11-25 21:39:17 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-11-25 21:39:17 +0000 |
commit | 71a39f4b6f132c0ab4520a46e9ad5b363711e686 (patch) | |
tree | 52cef0ae817e5fd54400672a77156efe75d76254 /test/FrontendC++/2006-09-27-Debug-Protection.cpp | |
parent | a0c67bb1f9c59e0660ea6bc8d27226bfa900d58a (diff) |
Remove explicit uses of -emit-llvm, the test infrastructure adds it
automatically. Use -S with llvm-gcc rather than -c, so tests can
work when llvm-gcc is really dragonegg (which can output IR with -S
but not -c).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120160 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC++/2006-09-27-Debug-Protection.cpp')
-rw-r--r-- | test/FrontendC++/2006-09-27-Debug-Protection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/FrontendC++/2006-09-27-Debug-Protection.cpp b/test/FrontendC++/2006-09-27-Debug-Protection.cpp index cb09bd0a97..2a70a0f5b4 100644 --- a/test/FrontendC++/2006-09-27-Debug-Protection.cpp +++ b/test/FrontendC++/2006-09-27-Debug-Protection.cpp @@ -1,5 +1,5 @@ -// RUN: %llvmgxx -O0 -emit-llvm -S -g -o - %s | grep {i32 1,} -// RUN: %llvmgxx -O0 -emit-llvm -S -g -o - %s | grep {i32 2,} +// RUN: %llvmgxx -O0 -S -g -o - %s | grep {i32 1,} +// RUN: %llvmgxx -O0 -S -g -o - %s | grep {i32 2,} class A { public: int x; |