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

@b = alias void ()* @a

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

return:
	ret void
}