llvm-project/llvm/test/FrontendC/2008-11-02-WeakAlias.c

6 lines
161 B
C
Raw Normal View History

2008-11-03 00:46:17 +08:00
// 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) {}