blob: e22d11d6cbf6d8b16995a47e8a5b610d5cde7e0d [file] [log] [blame]
Chris Lattner3e2c5262003-05-15 19:38:39 +00001; This bug was caused by two CPR's existing for the same global variable,
2; colliding in the Module level CPR map.
3
Misha Brukman14285c82003-09-15 20:02:53 +00004; RUN: llvm-as < %s -o /dev/null -f
Chris Lattnera60f8552003-05-15 18:52:08 +00005
6void %test() {
7 call void (...)* cast (void (short*, int)* %AddString to void (...)*)(short* null, int 0)
8 ret void
9}
10
11void %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