blob: 0e738c4129a928aa5e5913d1b0002cdb5398648d [file]
class Scratch {
static class C implements AutoCloseable {
public void close() {}
}
public static void main(String[] args) throws Exception {
try (C c = new C()) {
foo();
}
}
static void f<caret>oo() throws Exception { }
}