diff options
Diffstat (limited to 'libjava/testsuite/libjava.compile/PR20312.java')
-rw-r--r-- | libjava/testsuite/libjava.compile/PR20312.java | 8 |
1 files changed, 8 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"; + } +} |