aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/testlink2.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-11-26 19:17:06 +0000
committerChris Lattner <sabre@nondot.org>2001-11-26 19:17:06 +0000
commitb4b07c788db51cfd3c5239c0fbea45a812746319 (patch)
tree81ed841eca22f117b27a89a9c6d5bce4322e185c /test/Linker/testlink2.ll
parent13d38cd8058da478333b394b73dfd070b119b76d (diff)
downloadexternal_llvm-b4b07c788db51cfd3c5239c0fbea45a812746319.zip
external_llvm-b4b07c788db51cfd3c5239c0fbea45a812746319.tar.gz
external_llvm-b4b07c788db51cfd3c5239c0fbea45a812746319.tar.bz2
Add testcases for internal
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1388 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/testlink2.ll')
-rw-r--r--test/Linker/testlink2.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Linker/testlink2.ll b/test/Linker/testlink2.ll
index 77d62f2..056daaf 100644
--- a/test/Linker/testlink2.ll
+++ b/test/Linker/testlink2.ll
@@ -4,6 +4,9 @@
%AConst = constant int 123
+%Intern1 = internal constant int 52 ;; Intern in both testlink[12].ll
+%Intern2 = constant int 12345 ;; Intern in one but not in other
+
%MyIntListPtr = constant { {\2,int}* } { {\2,int}* %MyIntList }
%MyVarPtr = global { int * } { int * %MyVar }
@@ -22,3 +25,8 @@ begin
end
declare void "unimp"(float, double)
+
+internal void "testintern"() begin ret void end
+ void "Testintern"() begin ret void end
+internal void "testIntern"() begin ret void end
+