summaryrefslogtreecommitdiff
path: root/test/CodeGen/attributes.c
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2008-06-08 15:45:52 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2008-06-08 15:45:52 +0000
commitd4cbda6292b321c2e7dce7f039d92918fee99b3a (patch)
treebafb6964c04d55e8f69832155513962da2180514 /test/CodeGen/attributes.c
parent3cd1a2dc07014aa6b675030823690cf06619a745 (diff)
downloadclang-d4cbda6292b321c2e7dce7f039d92918fee99b3a.tar.gz
implement the alias attirbute (in both Sema and Codegen)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/attributes.c')
-rw-r--r--test/CodeGen/attributes.c4
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")));