1 import java.io.*; 2 3 // Test case for http://gcc.gnu.org/PR12866 4 // From Mark Wielaard 5 public class InnerExcept 6 { createFile()7 static private void createFile() throws IOException 8 { 9 new File("/dev/null"); 10 } 11 12 class Inner 13 { m()14 private void m() throws IOException 15 { 16 createFile(); 17 } 18 } 19 } 20