Testsuite changes for PR java/23431.
authorRanjit Mathew <rmathew@hotmail.com>
Mon, 5 Sep 2005 15:04:40 +0000 (15:04 +0000)
committerRanjit Mathew <rmathew@gcc.gnu.org>
Mon, 5 Sep 2005 15:04:40 +0000 (15:04 +0000)
* 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

libjava/ChangeLog
libjava/testsuite/libjava.compile/PR23431_1.java [new file with mode: 0644]
libjava/testsuite/libjava.compile/PR23431_1.xfail [new file with mode: 0644]
libjava/testsuite/libjava.compile/PR23431_2.java [new file with mode: 0644]
libjava/testsuite/libjava.compile/PR23431_2.xfail [new file with mode: 0644]
libjava/testsuite/libjava.jacks/jacks.xfail

index 0c6f650..2dd4b70 100644 (file)
@@ -1,3 +1,13 @@
+2005-09-05  Ranjit Mathew  <rmathew@hotmail.com>
+
+       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.
+
 2005-08-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
 
        PR libgcj/23549
diff --git a/libjava/testsuite/libjava.compile/PR23431_1.java b/libjava/testsuite/libjava.compile/PR23431_1.java
new file mode 100644 (file)
index 0000000..79d20ba
--- /dev/null
@@ -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 (file)
index 0000000..e3b083b
--- /dev/null
@@ -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 (file)
index 0000000..3f696ff
--- /dev/null
@@ -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 (file)
index 0000000..e3b083b
--- /dev/null
@@ -0,0 +1 @@
+shouldfail
index 053f3bd..fe27924 100644 (file)
 7.6-optional-restrictions-1
 7.6-unnamed-scope-1
 7.6-unnamed-scope-2
-8.1.1.1-12
 8.1.1.1-default-abstract-11
 8.1.1.1-default-abstract-13
 8.1.1.1-default-abstract-15
 8.4.6-inheritance-2
 8.4.6.1-override-3
 8.4.6.2-hiding-3
-8.4.6.2-hiding-5
 8.4.6.3-default-10
 8.4.6.3-default-12
 8.4.6.3-default-14