From 230e5efe634b96aed86203a2d7097496509d4519 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 15 Oct 2001 03:11:58 +0000 Subject: 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 --- test/Linker/testlink1.ll | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/Linker/testlink1.ll') diff --git a/test/Linker/testlink1.ll b/test/Linker/testlink1.ll index 87a9e9a493..7ec511c15a 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) -- cgit v1.2.3