summaryrefslogtreecommitdiffstats
path: root/tests/base/test106/pkg/Obj.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/base/test106/pkg/Obj.java')
-rw-r--r--tests/base/test106/pkg/Obj.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/base/test106/pkg/Obj.java b/tests/base/test106/pkg/Obj.java
new file mode 100644
index 000000000..3886c2bd3
--- /dev/null
+++ b/tests/base/test106/pkg/Obj.java
@@ -0,0 +1,13 @@
+package pkg;
+
+public class Obj {
+ public int m() {
+ return 2;
+ }
+}
+
+aspect Asp {
+ int around(): target(Obj) && execution(int m()) {
+ return 3;
+ }
+}