Patch: another 1.1 test case
Tom Tromey
tromey@cygnus.com
Thu Apr 20 17:53:00 GMT 2000
I'm checking this in for Alex.
It adds another 1.1 test case.
2000-04-20 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava.compile/block.java: New file.
* libjava.compile/block.out: New file.
Tom
Index: libjava.compile/block.java
===================================================================
RCS file: block.java
diff -N block.java
--- /dev/null Tue May 5 13:32:27 1998
+++ block.java Thu Apr 20 17:52:08 2000
@@ -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'...");
+ }
+}
Index: libjava.compile/block.xfail
===================================================================
RCS file: block.xfail
diff -N block.xfail
--- /dev/null Tue May 5 13:32:27 1998
+++ block.xfail Thu Apr 20 17:52:08 2000
@@ -0,0 +1 @@
+shouldfail
More information about the Java-patches
mailing list