diff options
Diffstat (limited to 'test/CodeGen/unwind-attr.c')
-rw-r--r-- | test/CodeGen/unwind-attr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/unwind-attr.c b/test/CodeGen/unwind-attr.c index b2890c4c10de8..4954a0b59ce45 100644 --- a/test/CodeGen/unwind-attr.c +++ b/test/CodeGen/unwind-attr.c @@ -1,5 +1,5 @@ -// RUN: clang-cc -fexceptions -emit-llvm -o - %s | grep "@foo() {" | count 1 && -// RUN: clang-cc -emit-llvm -o - %s | grep "@foo() nounwind {" | count 1 +// RUN: clang-cc -fexceptions -emit-llvm -o - %s | grep "@foo()" | not grep nounwind && +// RUN: clang-cc -emit-llvm -o - %s | grep "@foo()" | grep nounwind int foo(void) { } |