* libjava.compile/InnerExcept.java: New File.
From-SVN: r73240
This commit is contained in:
parent
6306934273
commit
1b64e33f3f
2 changed files with 24 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue