From: Anton Korobeynikov Date: Sun, 2 Nov 2008 16:46:17 +0000 (+0000) Subject: Testcase for PR2691 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e4915157303b6c61a653c8da1b7017ed089e51f8;p=oota-llvm.git Testcase for PR2691 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58567 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/FrontendC/2008-11-02-WeakAlias.c b/test/FrontendC/2008-11-02-WeakAlias.c new file mode 100644 index 00000000000..4bdc5c7bec9 --- /dev/null +++ b/test/FrontendC/2008-11-02-WeakAlias.c @@ -0,0 +1,5 @@ +// RUN: %llvmgcc -S -emit-llvm -o - %s | grep weak +// PR2691 + +void init_IRQ(void) __attribute__((weak, alias("native_init_IRQ"))); +void native_init_IRQ(void) {} \ No newline at end of file