aboutsummaryrefslogtreecommitdiff
path: root/test/Linker/2008-07-06-AliasFnDecl.ll
blob: 555899a31acbb8dc88a7e8170ef979d68cac889f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; PR2146
; RUN: llvm-as %s -o %t1.bc
; RUN: llvm-as %p/2008-07-06-AliasFnDecl2.ll -o %t2.bc
; RUN: llvm-link %t1.bc %t2.bc -o %t3.bc

@b = alias void (), void ()* @a

define void @a() nounwind  {
entry:
	br label %return

return:
	ret void
}