1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/Linker/2008-07-06-AliasFnDecl.ll

15 lines
233 B
LLVM
Raw Normal View History

2008-07-06 01:03:46 +02:00
; 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
2008-07-06 01:03:46 +02:00
@b = alias void ()* @a
define void @a() nounwind {
entry:
br label %return
return:
ret void
}