diff options
author | Ranjit Mathew <rmathew@hotmail.com> | 2005-09-05 15:04:40 +0000 |
---|---|---|
committer | Ranjit Mathew <rmathew@gcc.gnu.org> | 2005-09-05 15:04:40 +0000 |
commit | 3b4fb454b1755ba6bafee42255ba907ebe86bd80 (patch) | |
tree | 36d6b74a9e69d98ef31784f21984a99ed92a7853 /libjava/testsuite/libjava.compile | |
parent | 75d1a48521ad4606c4cccefaafbb08e7eeaee67c (diff) | |
download | gcc-3b4fb454b1755ba6bafee42255ba907ebe86bd80.zip gcc-3b4fb454b1755ba6bafee42255ba907ebe86bd80.tar.gz gcc-3b4fb454b1755ba6bafee42255ba907ebe86bd80.tar.bz2 |
Testsuite changes for PR java/23431.
* testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and
8.4.6.2-hiding-5.
* testsuite/libjava.compile/PR23431_1.java: New testcase.
* testsuite/libjava.compile/PR23431_2.java: Likewise.
* testsuite/libjava.compile/PR23431_1.xfail: New file.
* testsuite/libjava.compile/PR23431_2.xfail: Likewise.
From-SVN: r103910
Diffstat (limited to 'libjava/testsuite/libjava.compile')
4 files changed, 20 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/PR23431_1.java b/libjava/testsuite/libjava.compile/PR23431_1.java new file mode 100644 index 0000000..79d20ba --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR23431_1.java @@ -0,0 +1,9 @@ +abstract class Foo +{ + public abstract void bar( ); +} + +class PR23431_1 extends Foo +{ + private void bar( ) { } +} diff --git a/libjava/testsuite/libjava.compile/PR23431_1.xfail b/libjava/testsuite/libjava.compile/PR23431_1.xfail new file mode 100644 index 0000000..e3b083b --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR23431_1.xfail @@ -0,0 +1 @@ +shouldfail diff --git a/libjava/testsuite/libjava.compile/PR23431_2.java b/libjava/testsuite/libjava.compile/PR23431_2.java new file mode 100644 index 0000000..3f696ff --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR23431_2.java @@ -0,0 +1,9 @@ +interface Foo +{ + public void bar( ); +} + +class PR23431_2 implements Foo +{ + private void bar( ) { } +} diff --git a/libjava/testsuite/libjava.compile/PR23431_2.xfail b/libjava/testsuite/libjava.compile/PR23431_2.xfail new file mode 100644 index 0000000..e3b083b --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR23431_2.xfail @@ -0,0 +1 @@ +shouldfail |