diff options
author | Chris Lattner <sabre@nondot.org> | 2003-04-23 18:38:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-04-23 18:38:13 +0000 |
commit | e709a21d666368b898df05f574751b322f1a3495 (patch) | |
tree | d0ad43f8b1b32a4e9eb104eff62b2f8f4834f0ae /test | |
parent | 3907d1120005e51ec2299c274619723ce6a0fff3 (diff) | |
download | external_llvm-e709a21d666368b898df05f574751b322f1a3495.zip external_llvm-e709a21d666368b898df05f574751b322f1a3495.tar.gz external_llvm-e709a21d666368b898df05f574751b322f1a3495.tar.bz2 |
Tweak testcases to use linkonce as appropriate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5877 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Linker/testlink1.ll | 2 | ||||
-rw-r--r-- | 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 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 |