• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; This bug was caused by two CPR's existing for the same global variable,
2; colliding in the Module level CPR map.
3; RUN: llvm-as %s -o /dev/null
4; RUN: verify-uselistorder %s
5
6define void @test() {
7        call void (...) bitcast (void (i16*, i32)* @AddString to void (...)*)( i16* null, i32 0 )
8        ret void
9}
10
11define void @AddString(i16* %tmp.124, i32 %tmp.127) {
12        call void (...) bitcast (void (i16*, i32)* @AddString to void (...)*)( i16* %tmp.124, i32 %tmp.127 )
13        ret void
14}
15
16