diff options
Diffstat (limited to 'clang/test/CodeGen/attributes.c')
-rw-r--r-- | clang/test/CodeGen/attributes.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGen/attributes.c b/clang/test/CodeGen/attributes.c index a310a3ab644..95273f84a60 100644 --- a/clang/test/CodeGen/attributes.c +++ b/clang/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"))); |