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.
|
|
|
|
|
2003-09-16 04:02:53 +08:00
|
|
|
; RUN: llvm-as < %s -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
|
|
|
|
}
|
|
|
|
|