diff options
| author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-21 00:53:14 +0000 |
|---|---|---|
| committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-21 00:53:14 +0000 |
| commit | cd5aae11244da49d3619287d047949a1ddafa29f (patch) | |
| tree | efd9811bfeb05417f5e8e03f18727bf5b57e66f9 /libjava | |
| parent | 760c01e494692ae3c96f90ea4a64214ddd8e34b5 (diff) | |
| download | ppe42-gcc-cd5aae11244da49d3619287d047949a1ddafa29f.tar.gz ppe42-gcc-cd5aae11244da49d3619287d047949a1ddafa29f.zip | |
* libjava.compile/block.java: New file.
* libjava.compile/block.out: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33298 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
| -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 058f9ab90eb..54a39c4d026 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 00000000000..6bf99b13135 --- /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 00000000000..e3b083b1fa5 --- /dev/null +++ b/libjava/testsuite/libjava.compile/block.xfail @@ -0,0 +1 @@ +shouldfail |

