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/testsuite/libjava.compile/block.java | |
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/testsuite/libjava.compile/block.java')
-rw-r--r-- | libjava/testsuite/libjava.compile/block.java | 14 |
1 files changed, 14 insertions, 0 deletions
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'..."); + } +} |