linux-packaging-mono/external/llvm/test/Linker/2008-07-06-AliasFnDecl.ll
Xamarin Public Jenkins (auto-signing) 64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +00:00

15 lines
242 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 (), void ()* @a
define void @a() nounwind {
entry:
br label %return
return:
ret void
}