summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-05 21:09:57 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-05 21:09:57 +0000
commit2dc954108a35253045c95a09fcccd620f2cc12e1 (patch)
tree3c0784cfcd4c8f30020b076beab5a2a88f92be6a /libjava/testsuite/libjava.compile
parent54d7165ad45f762419fd1509ba6576733d172456 (diff)
downloadgcc-2dc954108a35253045c95a09fcccd620f2cc12e1.tar.gz
2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
PR java/19674 * parse.y (interface_member_declaration): Allow empty statements in interface declarations. 2005-07-05 Bryce McKinlay <mckinlay@redhat.com> * testsuite/libjava.compile/PR19674.java: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101634 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/testsuite/libjava.compile')
-rw-r--r--libjava/testsuite/libjava.compile/PR19674.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/PR19674.java b/libjava/testsuite/libjava.compile/PR19674.java
new file mode 100644
index 00000000000..2c23895b464
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/PR19674.java
@@ -0,0 +1,7 @@
+public interface PR19674
+{
+ public interface Inside
+ {
+ void m(int p, int p2);
+ };
+}