From e709a21d666368b898df05f574751b322f1a3495 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 23 Apr 2003 18:38:13 +0000 Subject: [PATCH] Tweak testcases to use linkonce as appropriate git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5877 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Linker/testlink1.ll | 2 +- test/Linker/testlink2.ll | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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