aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2008-11-02-WeakAlias.c
blob: 4bdc5c7bec9354b62adb970ab94e29a5ddb75482 (plain)
1
2
3
4
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) {}