Updating configure script to enable MIPS.
[llvm-complete.git] / test / Feature / globalredefinition.ll
blob642c093d163c945436b851baee3fc50e4fabba7a
1 ; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
2 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3 ; RUN: diff %t1.ll %t2.ll
5 ; Test forward references and redefinitions of globals
7 %A = global int* %B
8 %B = global int 7
10 declare void %X()
12 declare void %X()
14 void %X() {
15   ret void
18 declare void %X()