summaryrefslogtreecommitdiffstats
path: root/test/Linker/testlink1.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-15 03:11:58 +0000
committerChris Lattner <sabre@nondot.org>2001-10-15 03:11:58 +0000
commit230e5efe634b96aed86203a2d7097496509d4519 (patch)
tree00a582e5a5efec16bf1c56c836a9a9369d0623a5 /test/Linker/testlink1.ll
parent6bb46cdf27cc7b6da13745d7391f697739558847 (diff)
downloadexternal_llvm-230e5efe634b96aed86203a2d7097496509d4519.zip
external_llvm-230e5efe634b96aed86203a2d7097496509d4519.tar.gz
external_llvm-230e5efe634b96aed86203a2d7097496509d4519.tar.bz2
Add some more interesting test cases for the linker
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@816 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/testlink1.ll')
-rw-r--r--test/Linker/testlink1.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Linker/testlink1.ll b/test/Linker/testlink1.ll
index 87a9e9a..7ec511c 100644
--- a/test/Linker/testlink1.ll
+++ b/test/Linker/testlink1.ll
@@ -5,6 +5,9 @@
%AConst = constant int 123
+; Initialized to point to external %MyVar
+%MyVarPtr = global { int * } { int * %MyVar }
+
declare int "foo"(int %blah) ;; Declared in testlink2.ll
declare void "print"(int %Value)