From b3a51f073f1740c823b84bced70c3324e2ae60e0 Mon Sep 17 00:00:00 2001 From: bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Tue, 7 Mar 2000 22:54:12 +0000 Subject: [PATCH] 2000-03-07 Bryce McKinlay <bryce@albatross.co.nz> Test for PR gcj/163: * libjava.lang/PR163.java: New file. * libjava.lang/PR163.xfail: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32393 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/testsuite/ChangeLog | 6 ++++++ libjava/testsuite/libjava.compile/PR163.java | 8 ++++++++ libjava/testsuite/libjava.compile/PR163.xfail | 1 + 3 files changed, 15 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/PR163.java create mode 100644 libjava/testsuite/libjava.compile/PR163.xfail diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index fbf93e66d5f1..eb97c78a0a8f 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2000-03-07 Bryce McKinlay <bryce@albatross.co.nz> + + Test for PR gcj/163: + * libjava.lang/PR163.java: New file. + * libjava.lang/PR163.xfail: New file. + 2000-03-07 Tom Tromey <tromey@cygnus.com> * lib/libjava.exp (test_libjava_from_javac): Removed hack for diff --git a/libjava/testsuite/libjava.compile/PR163.java b/libjava/testsuite/libjava.compile/PR163.java new file mode 100644 index 000000000000..283c8ac1c9cf --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR163.java @@ -0,0 +1,8 @@ +// Test case for the PR gcj/163 + +// Uninitalized final variables should not be permitted. + +class PR163 +{ + final int foo; +} diff --git a/libjava/testsuite/libjava.compile/PR163.xfail b/libjava/testsuite/libjava.compile/PR163.xfail new file mode 100644 index 000000000000..e3b083b1fa5c --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR163.xfail @@ -0,0 +1 @@ +shouldfail -- GitLab