YouCompleteMe/cpp/llvm/test/Linker/2008-07-06-AliasFnDecl.ll
2012-07-05 17:51:06 -07:00

15 lines
233 B
LLVM

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