[llvm-commits] [llvm] r58567 - /llvm/trunk/test/FrontendC/2008-11-02-WeakAlias.c

Anton Korobeynikov asl at math.spbu.ru
Sun Nov 2 08:46:19 PST 2008


Author: asl
Date: Sun Nov  2 10:46:17 2008
New Revision: 58567

URL: http://llvm.org/viewvc/llvm-project?rev=58567&view=rev
Log:
Testcase for PR2691

Added:
    llvm/trunk/test/FrontendC/2008-11-02-WeakAlias.c

Added: llvm/trunk/test/FrontendC/2008-11-02-WeakAlias.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/2008-11-02-WeakAlias.c?rev=58567&view=auto

==============================================================================
--- llvm/trunk/test/FrontendC/2008-11-02-WeakAlias.c (added)
+++ llvm/trunk/test/FrontendC/2008-11-02-WeakAlias.c Sun Nov  2 10:46:17 2008
@@ -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





More information about the llvm-commits mailing list