summaryrefslogtreecommitdiff
path: root/test/Linker/2008-07-06-AliasFnDecl.ll
blob: 8e8c8454d9419be5db6b4f7f4ec2848ee862ebcc (plain)
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 ()* @a

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

return:
	ret void
}