aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs171/pr387444/Code.java
blob: 4407908f6651c877c851994d16ed52caa9ea6061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import java.io.*;

public class Code {
  public void m() { // throws IOException {
    try (FileReader reader = new FileReader("test.txt")) {
      System.out.println("");
    }
  }
}
aspect X {
  declare soft: IOException: within(*);
}