summaryrefslogtreecommitdiffstats
path: root/tests/bugs170/language
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs170/language')
-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) { }