forked from OSchip/llvm-project
The attribute nothrow maps to llvm attribute nounwind. Fix testcase.
llvm-svn: 47841
This commit is contained in:
parent
76ac5cf9d3
commit
e2e5c3f394
|
@ -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() {}
|
||||
|
|
Loading…
Reference in New Issue