diff options
author | Alexandre Petit-Bianco <apbianco@cygnus.com> | 2000-04-21 00:53:14 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-04-21 00:53:14 +0000 |
commit | f0c0bdf5e0be338ecb2bb53e8451acaefc9260a4 (patch) | |
tree | efd9811bfeb05417f5e8e03f18727bf5b57e66f9 /libjava/testsuite | |
parent | 18fcc4961b6dc27d676b02c1147feaf852d88dca (diff) | |
download | gcc-f0c0bdf5e0be338ecb2bb53e8451acaefc9260a4.zip gcc-f0c0bdf5e0be338ecb2bb53e8451acaefc9260a4.tar.gz gcc-f0c0bdf5e0be338ecb2bb53e8451acaefc9260a4.tar.bz2 |
block.java: New file.
* libjava.compile/block.java: New file.
* libjava.compile/block.out: New file.
From-SVN: r33298
Diffstat (limited to 'libjava/testsuite')
-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 |