diff options
Diffstat (limited to 'libjava/testsuite/libjava.compile')
| -rw-r--r-- | libjava/testsuite/libjava.compile/PR163.java | 8 | ||||
| -rw-r--r-- | libjava/testsuite/libjava.compile/PR163.xfail | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/PR163.java b/libjava/testsuite/libjava.compile/PR163.java new file mode 100644 index 00000000000..283c8ac1c9c --- /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 00000000000..e3b083b1fa5 --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR163.xfail @@ -0,0 +1 @@ +shouldfail |
