diff options
Diffstat (limited to 'test/CodeGen/attributes.c')
-rw-r--r-- | test/CodeGen/attributes.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/attributes.c b/test/CodeGen/attributes.c index a310a3ab64..95273f84a6 100644 --- a/test/CodeGen/attributes.c +++ b/test/CodeGen/attributes.c @@ -24,3 +24,7 @@ int t6 __attribute__((visibility("protected"))); // RUN: clang -emit-llvm < %s | grep 't7.*nounwind' void t7() __attribute__((noreturn, nothrow)); void t7() {} + +// RUN: clang -emit-llvm < %s | grep 't9.*alias.*weak.*t8' +void __t8() {} +void t9() __attribute__((weak, alias("__t8"))); |