aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker
diff options
context:
space:
mode:
Diffstat (limited to 'test/Linker')
-rw-r--r--test/Linker/testlink1.ll2
-rw-r--r--test/Linker/testlink2.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Linker/testlink1.ll b/test/Linker/testlink1.ll
index 898188b..3f07213 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 210e847..31a29eb 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