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

5 lines
160 B
C
Raw Normal View History

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