Add testcases for internal

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1388 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2001-11-26 19:17:06 +00:00
parent 13d38cd805
commit b4b07c788d
2 changed files with 15 additions and 0 deletions

View File

@ -5,6 +5,9 @@
%AConst = constant int 123 %AConst = constant int 123
%Intern1 = internal constant int 42
%Intern2 = internal constant int 792
; Initialized to point to external %MyVar ; Initialized to point to external %MyVar
%MyVarPtr = global { int * } { int * %MyVar } %MyVarPtr = global { int * } { int * %MyVar }
@ -33,3 +36,7 @@ begin
ret void ret void
end end
internal void "testintern"() begin ret void end
internal void "Testintern"() begin ret void end
void "testIntern"() begin ret void end

View File

@ -4,6 +4,9 @@
%AConst = constant int 123 %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 } %MyIntListPtr = constant { {\2,int}* } { {\2,int}* %MyIntList }
%MyVarPtr = global { int * } { int * %MyVar } %MyVarPtr = global { int * } { int * %MyVar }
@ -22,3 +25,8 @@ begin
end end
declare void "unimp"(float, double) 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