1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/test/Linker/2008-07-06-AliasFnDecl.ll
Anton Korobeynikov 69c88b40ed Testcase for PR2146
llvm-svn: 53155
2008-07-05 23:03:46 +00:00

15 lines
242 B
LLVM

; 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
}