[MBP] Use range based for-loops throughout this code. Several had
[oota-llvm.git] / test / Linker / 2002-08-20-ConstantExpr.ll
index da81af31f1cc6925ef04f3fa487f531dd323cda9..5672014ff663116384b6fcff7d42b554df806b18 100644 (file)
@@ -1,9 +1,9 @@
 ; This fails linking when it is linked with an empty file as the first object file
 
-; RUN: as > %t.LinkTest.bc < /dev/null
-; RUN: as < %s > %t.bc
-; RUN: link %t.LinkTest.bc %t.bc
+; RUN: llvm-as > %t.LinkTest.bc < /dev/null
+; RUN: llvm-as < %s > %t.bc
+; RUN: llvm-link %t.LinkTest.bc %t.bc
 
-%work = global int 4
-%test = global int* getelementptr( int* %work, long 1)
+@work = global i32 4           ; <i32*> [#uses=1]
+@test = global i32* getelementptr (i32* @work, i64 1)          ; <i32**> [#uses=0]