summaryrefslogtreecommitdiffstats
path: root/clang/test
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
commite2e5c3f3948a69236bae040c4952b1ebce75211f (patch)
tree7616cd96d7e06b92594bba073da54fcc932d05ed /clang/test
parent76ac5cf9d3c73b59aba3bb4bdf81eb87de09ef74 (diff)
downloadbcm5719-llvm-e2e5c3f3948a69236bae040c4952b1ebce75211f.tar.gz
bcm5719-llvm-e2e5c3f3948a69236bae040c4952b1ebce75211f.zip
The attribute nothrow maps to llvm attribute nounwind. Fix testcase.
llvm-svn: 47841
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/CodeGen/attributes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/attributes.c b/clang/test/CodeGen/attributes.c
index 73e0601894d..3533d6d8432 100644
--- a/clang/test/CodeGen/attributes.c
+++ b/clang/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() {}
OpenPOWER on IntegriCloud