2003-05-16 03:38:39 +08:00
|
|
|
; This bug was caused by two CPR's existing for the same global variable,
|
|
|
|
; colliding in the Module level CPR map.
|
|
|
|
|
2006-12-03 04:34:08 +08:00
|
|
|
; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f
|
2003-05-16 02:52:08 +08:00
|
|
|
|
|
|
|
void %test() {
|
|
|
|
call void (...)* cast (void (short*, int)* %AddString to void (...)*)(short* null, int 0)
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
void %AddString(short* %tmp.124, int %tmp.127) {
|
|
|
|
call void (...)* cast (void (short*, int)* %AddString to void (...)*)(short* %tmp.124, int %tmp.127)
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|