aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150/Pr103051.aj
blob: 99e81043173dd5c10f62e9caae5077121f91b235 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import java.io.IOException;

public aspect Pr103051 {
    declare soft: IOException: within(Pr103051) && adviceexecution();

    before() : execution(* main(..)) {
        throw new IOException("test");
    }

    public static void main(String args[]) {
    }
}