aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile/InnerExcept.java
blob: df4b62893e28da94939b6f53109ec4b48ef425ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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();
    }
  }
}