block.java: New file.
* libjava.compile/block.java: New file. * libjava.compile/block.out: New file. From-SVN: r33298
This commit is contained in:
parent
18fcc4961b
commit
f0c0bdf5e0
@ -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.
|
||||
|
14
libjava/testsuite/libjava.compile/block.java
Normal file
14
libjava/testsuite/libjava.compile/block.java
Normal 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'...");
|
||||
}
|
||||
}
|
1
libjava/testsuite/libjava.compile/block.xfail
Normal file
1
libjava/testsuite/libjava.compile/block.xfail
Normal file
@ -0,0 +1 @@
|
||||
shouldfail
|
Loading…
Reference in New Issue
Block a user