diff options
| author | Chris Lattner <sabre@nondot.org> | 2001-11-26 19:17:06 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2001-11-26 19:17:06 +0000 |
| commit | d8642f7b1480328bb4ba8f1f0862ed9768fb843c (patch) | |
| tree | c99be43dc5ade85913d7cfe879adc2480d69816e | |
| parent | 275cb9ec1f753557b21d986ad788417f04b101cb (diff) | |
| download | bcm5719-llvm-d8642f7b1480328bb4ba8f1f0862ed9768fb843c.tar.gz bcm5719-llvm-d8642f7b1480328bb4ba8f1f0862ed9768fb843c.zip | |
Add testcases for internal
llvm-svn: 1388
| -rw-r--r-- | llvm/test/Regression/Linker/testlink1.ll | 7 | ||||
| -rw-r--r-- | llvm/test/Regression/Linker/testlink2.ll | 8 |
2 files changed, 15 insertions, 0 deletions
diff --git a/llvm/test/Regression/Linker/testlink1.ll b/llvm/test/Regression/Linker/testlink1.ll index 7ec511c15a0..cf757f100e5 100644 --- a/llvm/test/Regression/Linker/testlink1.ll +++ b/llvm/test/Regression/Linker/testlink1.ll @@ -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 + diff --git a/llvm/test/Regression/Linker/testlink2.ll b/llvm/test/Regression/Linker/testlink2.ll index 77d62f228b4..056daaff09e 100644 --- a/llvm/test/Regression/Linker/testlink2.ll +++ b/llvm/test/Regression/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 + |

