summaryrefslogtreecommitdiffstats
path: root/tests/bugs170
diff options
context:
space:
mode:
authoraclement <aclement>2011-12-16 00:02:55 +0000
committeraclement <aclement>2011-12-16 00:02:55 +0000
commit24221c560ca4536ca00904ece7542198e528c852 (patch)
tree70f5baa829609b32cc215e72234adae143efc9ec /tests/bugs170
parentbdd17ca45ec2fa33bdee48ed1ee71f82204a488c (diff)
downloadaspectj-24221c560ca4536ca00904ece7542198e528c852.tar.gz
aspectj-24221c560ca4536ca00904ece7542198e528c852.zip
per clause tests for stack map generation
Diffstat (limited to 'tests/bugs170')
-rw-r--r--tests/bugs170/language/PerCflow.java10
-rw-r--r--tests/bugs170/language/PerTarget.java1
-rw-r--r--tests/bugs170/language/PerThis.java1
-rw-r--r--tests/bugs170/language/PerTypeWithin.java1
4 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs170/language/PerCflow.java b/tests/bugs170/language/PerCflow.java
new file mode 100644
index 000000000..223b48703
--- /dev/null
+++ b/tests/bugs170/language/PerCflow.java
@@ -0,0 +1,10 @@
+aspect PerCflow percflow(execution(* Bar.*(..))) {
+}
+
+class Bar {
+ void m() {
+ n();
+ }
+ void n() {
+ }
+}
diff --git a/tests/bugs170/language/PerTarget.java b/tests/bugs170/language/PerTarget.java
new file mode 100644
index 000000000..be94588e7
--- /dev/null
+++ b/tests/bugs170/language/PerTarget.java
@@ -0,0 +1 @@
+aspect PerTarget pertarget(this(PerTarget)) { }
diff --git a/tests/bugs170/language/PerThis.java b/tests/bugs170/language/PerThis.java
new file mode 100644
index 000000000..5027a6f1f
--- /dev/null
+++ b/tests/bugs170/language/PerThis.java
@@ -0,0 +1 @@
+aspect PerThis perthis(this(PerThis)) { }
diff --git a/tests/bugs170/language/PerTypeWithin.java b/tests/bugs170/language/PerTypeWithin.java
new file mode 100644
index 000000000..ae5b169ce
--- /dev/null
+++ b/tests/bugs170/language/PerTypeWithin.java
@@ -0,0 +1 @@
+aspect PerTypeWithin pertypewithin(PerTypeWithin) { }