summaryrefslogtreecommitdiffstats
path: root/tests/bugs150/Pr103051.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs150/Pr103051.aj')
-rw-r--r--tests/bugs150/Pr103051.aj12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/bugs150/Pr103051.aj b/tests/bugs150/Pr103051.aj
new file mode 100644
index 000000000..99e810431
--- /dev/null
+++ b/tests/bugs150/Pr103051.aj
@@ -0,0 +1,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[]) {
+ }
+} \ No newline at end of file