summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2008-11-02-WeakAlias.c
blob: 63fd4e15eac9ae8f0be8e469591f7530ec29d0f4 (about) (plain)
1
2
3
4
5
6
// 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) {}