bolt/deps/llvm-18.1.8/llvm/test/Assembler/2003-04-25-UnresolvedGlobalReference.ll
2025-02-14 19:21:04 +01:00

8 lines
210 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 (ptr @test to i32)
}