[llvm-commits] CVS: llvm-java/test/Programs/SingleSource/UnitTests/AbstractClassDoesNotImplementInterface.java
Alkis Evlogimenos
alkis at cs.uiuc.edu
Mon Mar 21 11:51:06 PST 2005
Changes in directory llvm-java/test/Programs/SingleSource/UnitTests:
AbstractClassDoesNotImplementInterface.java updated: 1.1 -> 1.2
---
Log message:
Make test case print something so that we can compare outputs.
---
Diffs of the changes: (+3 -2)
AbstractClassDoesNotImplementInterface.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Index: llvm-java/test/Programs/SingleSource/UnitTests/AbstractClassDoesNotImplementInterface.java
diff -u llvm-java/test/Programs/SingleSource/UnitTests/AbstractClassDoesNotImplementInterface.java:1.1 llvm-java/test/Programs/SingleSource/UnitTests/AbstractClassDoesNotImplementInterface.java:1.2
--- llvm-java/test/Programs/SingleSource/UnitTests/AbstractClassDoesNotImplementInterface.java:1.1 Sun Mar 20 16:56:25 2005
+++ llvm-java/test/Programs/SingleSource/UnitTests/AbstractClassDoesNotImplementInterface.java Mon Mar 21 13:50:55 2005
@@ -9,10 +9,11 @@
}
private static class Concrete extends Abstract {
- public void iMethod() { }
+ public void iMethod() { Test.println(12345); }
}
public static void main(String[] args) {
- Abstract a = new Concrete();
+ Interface i = new Concrete();
+ i.iMethod();
}
}
More information about the llvm-commits
mailing list