[llvm-commits] CVS: llvm-java/test/Programs/SingleSource/UnitTests/AbstractCall.java Makefile Abstract.java

Alkis Evlogimenos alkis at cs.uiuc.edu
Fri Dec 10 11:54:07 PST 2004



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

AbstractCall.java added (r1.1)
Makefile updated: 1.24 -> 1.25
Abstract.java (r1.1) removed
---
Log message:

Rename Abstract to AbstractCall

---
Diffs of the changes:  (+18 -1)

Index: llvm-java/test/Programs/SingleSource/UnitTests/AbstractCall.java
diff -c /dev/null llvm-java/test/Programs/SingleSource/UnitTests/AbstractCall.java:1.1
*** /dev/null	Fri Dec 10 13:54:06 2004
--- llvm-java/test/Programs/SingleSource/UnitTests/AbstractCall.java	Fri Dec 10 13:53:56 2004
***************
*** 0 ****
--- 1,16 ----
+ abstract class AbstractCallAbstract {
+     abstract int abstractMethod();
+ 
+     int concreteMethod() { return abstractMethod(); }
+ }
+ 
+ class AbstractCallConcrete extends AbstractCallAbstract {
+     int abstractMethod() { return 5; }
+ }
+ 
+ public class AbstractCall
+ {
+     public static void main(String[] args) {
+         Test.print_int_ln(new AbstractCallConcrete().concreteMethod());
+     }
+ }


Index: llvm-java/test/Programs/SingleSource/UnitTests/Makefile
diff -u llvm-java/test/Programs/SingleSource/UnitTests/Makefile:1.24 llvm-java/test/Programs/SingleSource/UnitTests/Makefile:1.25
--- llvm-java/test/Programs/SingleSource/UnitTests/Makefile:1.24	Fri Dec 10 04:20:00 2004
+++ llvm-java/test/Programs/SingleSource/UnitTests/Makefile	Fri Dec 10 13:53:56 2004
@@ -8,7 +8,7 @@
 ##===----------------------------------------------------------------------===##
 LEVEL := ../../../..
 
-JAVA_TESTS := Abstract \
+JAVA_TESTS := AbstractCall \
 	Arithm \
 	Array \
 	BigConstants \
@@ -27,6 +27,7 @@
 	Test \
 	VirtualCall \
 	VTable \
+#	Lists1 \
 #	Strings \
 #	MultipleInterfaces \
 #	MultiArray \






More information about the llvm-commits mailing list