Tweak testcases to use linkonce as appropriate
authorChris Lattner <sabre@nondot.org>
Wed, 23 Apr 2003 18:38:13 +0000 (18:38 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 23 Apr 2003 18:38:13 +0000 (18:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5877 91177308-0d34-0410-b5e6-96231b3b80d8

test/Linker/testlink1.ll
test/Linker/testlink2.ll

index 898188b5c6751ec50f712daeb5ca952f92c07d0e..3f07213cedc3d26bfebe780d701e02abd938fdc7 100644 (file)
@@ -12,7 +12,7 @@
 %Intern2   = internal constant int 792
 
 ; Initialized to point to external %MyVar
-%MyVarPtr  = global { int * }  { int * %MyVar }
+%MyVarPtr  = linkonce global { int * }  { int * %MyVar }
 
 declare int "foo"(int %blah)      ;; Declared in testlink2.ll
 
index 210e847f6d72af429e925803f17bbd0843e25aa1..31a29eb52d1a11e97f481b54ce1cd69acdaba56b 100644 (file)
@@ -11,7 +11,7 @@
 %Intern2   = constant int 12345       ;; Intern in one but not in other
 
 %MyIntListPtr = constant { {\2,int}* } { {\2,int}* %MyIntList }
-%MyVarPtr  = global { int * }  { int * %MyVar }
+%MyVarPtr  = linkonce global { int * }  { int * %MyVar }
 
 constant int 412