blob: a4802940ecb8f638ace49cda3cbe68cfac697984 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; This bug was caused by two CPR's existing for the same global variable,
2; colliding in the Module level CPR map.
3
4; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f
5
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