]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR java/20418 (ICE if variable name is omitted in an initialiser and a qualified...
authorDavid Daney <ddaney@avtrex.com>
Thu, 11 May 2006 17:52:42 +0000 (17:52 +0000)
committerDavid Daney <daney@gcc.gnu.org>
Thu, 11 May 2006 17:52:42 +0000 (17:52 +0000)
* testsuite/libjava.compile/PR20418.java: New.
* testsuite/libjava.compile/PR20418.xfail: New.

From-SVN: r113707

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

index 62600926ec63238e5cf07d47d902132eae7b60b0..b110904c45eceaa95de990f430600ee655836892 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-11  David Daney  <ddaney@avtrex.com>
+
+       * testsuite/libjava.compile/PR20418.java: New.
+       * testsuite/libjava.compile/PR20418.xfail: New.
+
 2006-05-11  Andrew Haley  <aph@redhat.com>
 
        * gnu/gcj/runtime/natSharedLibLoader.cc (init): Remove debugging
diff --git a/libjava/testsuite/libjava.compile/PR20418.java b/libjava/testsuite/libjava.compile/PR20418.java
new file mode 100644 (file)
index 0000000..003f3cd
--- /dev/null
@@ -0,0 +1,7 @@
+public class PR20418
+{
+  public static void main( String[] args)
+  {
+    java.io.File = new java.io.File( "junk");
+  }
+}
diff --git a/libjava/testsuite/libjava.compile/PR20418.xfail b/libjava/testsuite/libjava.compile/PR20418.xfail
new file mode 100644 (file)
index 0000000..e3b083b
--- /dev/null
@@ -0,0 +1 @@
+shouldfail