mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-26 16:11:34 +08:00
* libjava.compile/InnerExcept.java: New File.
From-SVN: r73240
This commit is contained in:
parent
6306934273
commit
1b64e33f3f
@ -1,3 +1,8 @@
|
||||
2003-11-03 Jeff Sturm <jsturm@one-point.com>
|
||||
|
||||
PR java/12866:
|
||||
* libjava.compile/InnerExcept.java: New File.
|
||||
|
||||
2003-10-22 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
PR libgcj/12416:
|
||||
|
19
libjava/testsuite/libjava.compile/InnerExcept.java
Normal file
19
libjava/testsuite/libjava.compile/InnerExcept.java
Normal file
@ -0,0 +1,19 @@
|
||||
import java.io.*;
|
||||
|
||||
// Test case for http://gcc.gnu.org/PR12866
|
||||
// From Mark Wielaard
|
||||
public class InnerExcept
|
||||
{
|
||||
static private void createFile() throws IOException
|
||||
{
|
||||
new File("/dev/null");
|
||||
}
|
||||
|
||||
class Inner
|
||||
{
|
||||
private void m() throws IOException
|
||||
{
|
||||
createFile();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user