Assigning and copying command line option objects shouldn't be allowed.
[oota-llvm.git] / test / Linker / 2003-06-02-TypeResolveProblem2.ll
index 0dcca98ac3f45db2330a74ef7fcc213ce9e5d01e..3ae23a208042072dcb6d1b4fcb907efed78dc08d 100644 (file)
@@ -1,8 +1,7 @@
-; RUN: echo {%T = type int} | llvm-upgrade | llvm-as > %t.1.bc
-; RUN: llvm-upgrade < %s | llvm-as > %t.2.bc
+; RUN: echo "%%T = type i32" | llvm-as > %t.1.bc
+; RUN: llvm-as < %s > %t.2.bc
 ; RUN: llvm-link %t.1.bc %t.2.bc
 
 %T = type opaque
-
-%X = constant {%T*} {%T* null }
+@X = constant { %T* } zeroinitializer          ; <{ %T* }*> [#uses=0]