mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-01 22:16:06 +00:00
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)));
|
int t6 __attribute__((visibility(protected)));
|
||||||
|
|
||||||
// RUN: clang -emit-llvm < %s | grep 't7.*noreturn'
|
// 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() __attribute__((noreturn, nothrow));
|
||||||
void t7() {}
|
void t7() {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user