aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/testsuite/libjava.compile')
-rw-r--r--libjava/testsuite/libjava.compile/weirddecl.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/weirddecl.java b/libjava/testsuite/libjava.compile/weirddecl.java
new file mode 100644
index 0000000..f6d9b3f
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/weirddecl.java
@@ -0,0 +1,8 @@
+public class weirddecl
+{
+ // Weird but legal decl.
+ public String foo (String[] dumb[])
+ {
+ return dumb[0][0];
+ }
+}