diff options
-rw-r--r-- | libjava/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/testsuite/libjava.compile/block.java | 14 | ||||
-rw-r--r-- | libjava/testsuite/libjava.compile/block.xfail | 1 |
3 files changed, 20 insertions, 0 deletions
diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index 058f9ab..54a39c4 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2000-04-20 Alexandre Petit-Bianco <apbianco@cygnus.com> + + * libjava.compile/block.java: New file. + * libjava.compile/block.out: New file. + 2000-04-20 Tom Tromey <tromey@cygnus.com> * libjava.jni/throwit.out: Fixed output to be correct. diff --git a/libjava/testsuite/libjava.compile/block.java b/libjava/testsuite/libjava.compile/block.java new file mode 100644 index 0000000..6bf99b1 --- /dev/null +++ b/libjava/testsuite/libjava.compile/block.java @@ -0,0 +1,14 @@ +// Class block +// Generated on Thu Apr 20 15:03:23 PDT 2000 +// It is illegal to use modifiers for in-block (local) classes + +class block { + public void foo () + { + public class xxx {} + } + public static void main (String[] arg) + { + System.out.println ("Testing class `block'..."); + } +} diff --git a/libjava/testsuite/libjava.compile/block.xfail b/libjava/testsuite/libjava.compile/block.xfail new file mode 100644 index 0000000..e3b083b --- /dev/null +++ b/libjava/testsuite/libjava.compile/block.xfail @@ -0,0 +1 @@ +shouldfail |