blob: d10e57f5efe0dc0bfae1ad34ddf3091d30789f69 [file] [log] [blame]
Duncan Sandsbb8f5902010-11-25 21:24:35 +00001// RUN: %llvmgcc -S -o - %s | grep weak
Anton Korobeynikove4915152008-11-02 16:46:17 +00002// PR2691
3
4void init_IRQ(void) __attribute__((weak, alias("native_init_IRQ")));
Chris Lattnerd2075582010-04-07 22:53:17 +00005void native_init_IRQ(void) {}