llvm-project/llvm/test/Assembler/2003-05-15-AssemblerProblem.ll
Nikita Popov 75a479221b [Assembler] Convert tests to opaque pointers (NFC)
Some tests are removed because the error conditions can no longer
occur with opaque pointers.
2022-12-13 14:36:21 +01:00

16 lines
412 B
LLVM

; This bug was caused by two CPR's existing for the same global variable,
; colliding in the Module level CPR map.
; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s
define void @test() {
call void (...) @AddString( ptr null, i32 0 )
ret void
}
define void @AddString(ptr %tmp.124, i32 %tmp.127) {
call void (...) @AddString( ptr %tmp.124, i32 %tmp.127 )
ret void
}