]> granicus.if.org Git - clang/commitdiff
The attribute nothrow maps to llvm attribute nounwind. Fix testcase.
authorGabor Greif <ggreif@gmail.com>
Mon, 3 Mar 2008 14:53:09 +0000 (14:53 +0000)
committerGabor Greif <ggreif@gmail.com>
Mon, 3 Mar 2008 14:53:09 +0000 (14:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47841 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/attributes.c

index 73e0601894dab6bf37a63475e1ae832bfb7db4aa..3533d6d84324a04e8f9d7ab81d7423b2c4cf1859 100644 (file)
@@ -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() {}