[llvm-commits] CVS: llvm-java/test/Programs/SingleSource/UnitTests/MultipleInterfaces.java

Alkis Evlogimenos alkis at cs.uiuc.edu
Sun Jan 23 14:35:26 PST 2005



Changes in directory llvm-java/test/Programs/SingleSource/UnitTests:

MultipleInterfaces.java updated: 1.5 -> 1.6
---
Log message:

Change return types to make the test a bit more interesting.


---
Diffs of the changes:  (+4 -4)

 MultipleInterfaces.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm-java/test/Programs/SingleSource/UnitTests/MultipleInterfaces.java
diff -u llvm-java/test/Programs/SingleSource/UnitTests/MultipleInterfaces.java:1.5 llvm-java/test/Programs/SingleSource/UnitTests/MultipleInterfaces.java:1.6
--- llvm-java/test/Programs/SingleSource/UnitTests/MultipleInterfaces.java:1.5	Mon Dec 13 21:00:03 2004
+++ llvm-java/test/Programs/SingleSource/UnitTests/MultipleInterfaces.java	Sun Jan 23 16:35:15 2005
@@ -2,7 +2,7 @@
 {
     interface I1
     {
-        public int i1();
+        public boolean i1();
     }
 
     interface I2
@@ -12,14 +12,14 @@
 
     interface I3 extends I1, I2
     {
-        public int i3();
+        public float i3();
     }
 
     private static class C1 implements I3
     {
-        public int i1() { return 1; }
+        public boolean i1() { return true; }
         public int i2() { return 2; }
-        public int i3() { return 3; }
+        public float i3() { return 3.0F; }
     }
 
     public static void main(String[] args) {






More information about the llvm-commits mailing list