[PowerPC] Don't mark the return-address slot as immutable
[oota-llvm.git] / test / Linker / 2002-08-20-ConstantExpr.ll
index 3f1b4bf90a7b0e9b1c6da3b49a7501f8dcc87651..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 > Output/%s.LinkTest.bc < /dev/null
-; RUN: as < %s > Output/%s.bc
-; RUN: link Output/%s.LinkTest.bc Output/%s.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]