mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Add testcases for internal
llvm-svn: 1388
This commit is contained in:
parent
4a9dcadb10
commit
b05afffd5b
@ -5,6 +5,9 @@
|
||||
|
||||
%AConst = constant int 123
|
||||
|
||||
%Intern1 = internal constant int 42
|
||||
%Intern2 = internal constant int 792
|
||||
|
||||
; Initialized to point to external %MyVar
|
||||
%MyVarPtr = global { int * } { int * %MyVar }
|
||||
|
||||
@ -33,3 +36,7 @@ begin
|
||||
ret void
|
||||
end
|
||||
|
||||
internal void "testintern"() begin ret void end
|
||||
internal void "Testintern"() begin ret void end
|
||||
void "testIntern"() begin ret void end
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user