[llvm-commits] CVS: llvm-java/test/Programs/SingleSource/UnitTests/InterfaceStaticInitializers.java
Alkis Evlogimenos
alkis at cs.uiuc.edu
Sun Mar 20 15:29:25 PST 2005
Changes in directory llvm-java/test/Programs/SingleSource/UnitTests:
InterfaceStaticInitializers.java added (r1.1)
---
Log message:
Add file. Apparently interfaces can with public gloabls as well ;-)
---
Diffs of the changes: (+12 -0)
InterfaceStaticInitializers.java | 12 ++++++++++++
1 files changed, 12 insertions(+)
Index: llvm-java/test/Programs/SingleSource/UnitTests/InterfaceStaticInitializers.java
diff -c /dev/null llvm-java/test/Programs/SingleSource/UnitTests/InterfaceStaticInitializers.java:1.1
*** /dev/null Sun Mar 20 17:29:24 2005
--- llvm-java/test/Programs/SingleSource/UnitTests/InterfaceStaticInitializers.java Sun Mar 20 17:29:14 2005
***************
*** 0 ****
--- 1,12 ----
+ public class InterfaceStaticInitializers
+ {
+ public static class I1 {
+ public static int i1 = 1;
+ public static int i2 = 2;
+ }
+
+ public static void main(String[] args) {
+ Test.println(I1.i1);
+ Test.println(I1.i2);
+ }
+ }
More information about the llvm-commits
mailing list