aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/attributes.c
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2008-03-03 14:53:09 +0000
committerGabor Greif <ggreif@gmail.com>2008-03-03 14:53:09 +0000
commit15f362283e2985032068cd46166cbb8930986271 (patch)
treece3e3fa4c5a02925efc3845a38a831548d0c44f0 /test/CodeGen/attributes.c
parent7a03452889efc0e4cb7e2d474a2cc5881c6c571a (diff)
The attribute nothrow maps to llvm attribute nounwind. Fix testcase.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/attributes.c')
-rw-r--r--test/CodeGen/attributes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/attributes.c b/test/CodeGen/attributes.c
index 73e0601894..3533d6d843 100644
--- a/test/CodeGen/attributes.c
+++ b/test/CodeGen/attributes.c
@@ -21,6 +21,6 @@ int t5 __attribute__((weak)) = 2;
int t6 __attribute__((visibility(protected)));
// RUN: clang -emit-llvm < %s | grep 't7.*noreturn'
-// RUN: clang -emit-llvm < %s | grep 't7.*nothrow'
+// RUN: clang -emit-llvm < %s | grep 't7.*nounwind'
void t7() __attribute__((noreturn, nothrow));
void t7() {}