1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/FrontendC/2008-11-02-WeakAlias.c
Anton Korobeynikov e0b6dc8753 Testcase for PR2691
llvm-svn: 58567
2008-11-02 16:46:17 +00:00

5 lines
160 B
C

// 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) {}