[llvm-commits] CVS: llvm-java/test/Programs/SingleSource/UnitTests/AbstractClassDoesNotImplementInterface.java
Alkis Evlogimenos
alkis at cs.uiuc.edu
Sun Mar 20 14:56:36 PST 2005
Changes in directory llvm-java/test/Programs/SingleSource/UnitTests:
AbstractClassDoesNotImplementInterface.java added (r1.1)
---
Log message:
Add testcase
---
Diffs of the changes: (+18 -0)
AbstractClassDoesNotImplementInterface.java | 18 ++++++++++++++++++
1 files changed, 18 insertions(+)
Index: llvm-java/test/Programs/SingleSource/UnitTests/AbstractClassDoesNotImplementInterface.java
diff -c /dev/null llvm-java/test/Programs/SingleSource/UnitTests/AbstractClassDoesNotImplementInterface.java:1.1
*** /dev/null Sun Mar 20 16:56:35 2005
--- llvm-java/test/Programs/SingleSource/UnitTests/AbstractClassDoesNotImplementInterface.java Sun Mar 20 16:56:25 2005
***************
*** 0 ****
--- 1,18 ----
+ public class AbstractClassDoesNotImplementInterface {
+
+ private static interface Interface {
+ public void iMethod();
+ }
+
+ private static abstract class Abstract implements Interface {
+
+ }
+
+ private static class Concrete extends Abstract {
+ public void iMethod() { }
+ }
+
+ public static void main(String[] args) {
+ Abstract a = new Concrete();
+ }
+ }
More information about the llvm-commits
mailing list