diff options
Diffstat (limited to 'libjava/testsuite/libjava.compile')
-rw-r--r-- | libjava/testsuite/libjava.compile/PR20312.java | 8 | ||||
-rw-r--r-- | libjava/testsuite/libjava.compile/PR20312.xfail | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/PR20312.java b/libjava/testsuite/libjava.compile/PR20312.java new file mode 100644 index 0000000..463172b --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR20312.java @@ -0,0 +1,8 @@ +/* Can't throw what the overridden method doesn't. */ +public class PR20312 +{ + public String toString( ) throws java.io.IOException + { + return "SNAFU"; + } +} diff --git a/libjava/testsuite/libjava.compile/PR20312.xfail b/libjava/testsuite/libjava.compile/PR20312.xfail new file mode 100644 index 0000000..e3b083b --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR20312.xfail @@ -0,0 +1 @@ +shouldfail |