diff --git a/test/Linker/testlink1.ll b/test/Linker/testlink1.ll index 898188b5c67..3f07213cedc 100644 --- a/test/Linker/testlink1.ll +++ b/test/Linker/testlink1.ll @@ -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 diff --git a/test/Linker/testlink2.ll b/test/Linker/testlink2.ll index 210e847f6d7..31a29eb52d1 100644 --- a/test/Linker/testlink2.ll +++ b/test/Linker/testlink2.ll @@ -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