aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile/abstr.java
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>2000-09-01 00:13:31 +0000
committerTom Tromey <tromey@gcc.gnu.org>2000-09-01 00:13:31 +0000
commitb7fc330e447b35d8b6192ab0569e90d736f79406 (patch)
tree5e43fe8d434a460433f3a93b3a4686101214e05f /libjava/testsuite/libjava.compile/abstr.java
parentccbc3eb78e1b5a23414b3ef0ff7ec3aa811bdfb8 (diff)
downloadgcc-b7fc330e447b35d8b6192ab0569e90d736f79406.zip
gcc-b7fc330e447b35d8b6192ab0569e90d736f79406.tar.gz
gcc-b7fc330e447b35d8b6192ab0569e90d736f79406.tar.bz2
abstr.xfail: New file.
* libjava.compile/abstr.xfail: New file. * libjava.compile/abstr.java: New file. From-SVN: r36087
Diffstat (limited to 'libjava/testsuite/libjava.compile/abstr.java')
-rw-r--r--libjava/testsuite/libjava.compile/abstr.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/abstr.java b/libjava/testsuite/libjava.compile/abstr.java
new file mode 100644
index 0000000..f59db26
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/abstr.java
@@ -0,0 +1,14 @@
+// This fails to compile from bytecode for some versions of the compiler.
+
+interface foo
+{
+ public void start ();
+}
+
+public abstract class abstr implements foo
+{
+ public void doit ()
+ {
+ start ();
+ }
+}