llvm-for-llvmta/tools/clang/test/CodeGen/2008-11-02-WeakAlias.c

7 lines
204 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -triple=i686-pc-linux-gnu -emit-llvm -o - %s | FileCheck %s
// PR2691
// CHECK: weak
void init_IRQ(void) __attribute__((weak, alias("native_init_IRQ")));
void native_init_IRQ(void) {}