linux-packaging-mono/external/llvm/test/Assembler/2003-04-25-UnresolvedGlobalReference.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

9 lines
222 B
LLVM

; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s
; There should be absolutely no problem with this testcase.
define i32 @test(i32 %arg1, i32 %arg2) {
ret i32 ptrtoint (i32 (i32, i32)* @test to i32)
}