mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 17:05:19 +08:00
20 lines
298 B
Java
20 lines
298 B
Java
|
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();
|
||
|
}
|
||
|
}
|
||
|
}
|