xref: /aosp_15_r20/external/clang/test/CodeGen/2008-11-02-WeakAlias.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -triple=i686-pc-linux-gnu -emit-llvm -o - %s | FileCheck %s
2 // PR2691
3 
4 // CHECK: weak
5 void init_IRQ(void) __attribute__((weak, alias("native_init_IRQ")));
native_init_IRQ(void)6 void native_init_IRQ(void) {}
7