From: Gabor Greif Date: Mon, 3 Mar 2008 14:53:09 +0000 (+0000) Subject: The attribute nothrow maps to llvm attribute nounwind. Fix testcase. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15f362283e2985032068cd46166cbb8930986271;p=clang 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 --- 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() {}