diff options
-rw-r--r-- | test/FrontendC/2008-11-02-WeakAlias.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/FrontendC/2008-11-02-WeakAlias.c b/test/FrontendC/2008-11-02-WeakAlias.c new file mode 100644 index 0000000..4bdc5c7 --- /dev/null +++ b/test/FrontendC/2008-11-02-WeakAlias.c @@ -0,0 +1,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) {}
\ No newline at end of file |