Chris Lattner | 3e2c526 | 2003-05-15 19:38:39 +0000 | [diff] [blame] | 1 | ; This bug was caused by two CPR's existing for the same global variable, |
| 2 | ; colliding in the Module level CPR map. |
| 3 | |
Misha Brukman | 14285c8 | 2003-09-15 20:02:53 +0000 | [diff] [blame] | 4 | ; RUN: llvm-as < %s -o /dev/null -f |
Chris Lattner | a60f855 | 2003-05-15 18:52:08 +0000 | [diff] [blame] | 5 | |
| 6 | void %test() { |
| 7 | call void (...)* cast (void (short*, int)* %AddString to void (...)*)(short* null, int 0) |
| 8 | ret void |
| 9 | } |
| 10 | |
| 11 | void %AddString(short* %tmp.124, int %tmp.127) { |
| 12 | call void (...)* cast (void (short*, int)* %AddString to void (...)*)(short* %tmp.124, int %tmp.127) |
| 13 | ret void |
| 14 | } |
| 15 | |