block.java: New file.

* libjava.compile/block.java: New file.
	* libjava.compile/block.out: New file.

From-SVN: r33298
This commit is contained in:
Alexandre Petit-Bianco 2000-04-21 00:53:14 +00:00 committed by Tom Tromey
parent 18fcc4961b
commit f0c0bdf5e0
3 changed files with 20 additions and 0 deletions

View File

@ -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.

View File

@ -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'...");
}
}

View File

@ -0,0 +1 @@
shouldfail