From d4cbda6292b321c2e7dce7f039d92918fee99b3a Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Sun, 8 Jun 2008 15:45:52 +0000 Subject: 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 --- test/CodeGen/attributes.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/CodeGen/attributes.c') 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"))); -- cgit v1.2.1