diff options
author | David Daney <ddaney@avtrex.com> | 2006-05-11 17:52:42 +0000 |
---|---|---|
committer | David Daney <daney@gcc.gnu.org> | 2006-05-11 17:52:42 +0000 |
commit | 498f0cf38a3d4e7aad5754ba636a5e1e3a1bd5a5 (patch) | |
tree | 4ffbba3451e46ab9239a0192942031ddb59d5cf3 /libjava/testsuite/libjava.compile | |
parent | 5d342ef9c5cc43ddfb479b4057dd8b5f8a33ce24 (diff) | |
download | gcc-498f0cf38a3d4e7aad5754ba636a5e1e3a1bd5a5.zip gcc-498f0cf38a3d4e7aad5754ba636a5e1e3a1bd5a5.tar.gz gcc-498f0cf38a3d4e7aad5754ba636a5e1e3a1bd5a5.tar.bz2 |
re PR java/20418 (ICE if variable name is omitted in an initialiser and a qualified type for the variable is used)
* testsuite/libjava.compile/PR20418.java: New.
* testsuite/libjava.compile/PR20418.xfail: New.
From-SVN: r113707
Diffstat (limited to 'libjava/testsuite/libjava.compile')
-rw-r--r-- | libjava/testsuite/libjava.compile/PR20418.java | 7 | ||||
-rw-r--r-- | libjava/testsuite/libjava.compile/PR20418.xfail | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/PR20418.java b/libjava/testsuite/libjava.compile/PR20418.java new file mode 100644 index 0000000..003f3cd --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR20418.java @@ -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 index 0000000..e3b083b --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR20418.xfail @@ -0,0 +1 @@ +shouldfail |