summaryrefslogtreecommitdiffstats
path: root/tests/model/pr145963_1/SourceAspect.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/model/pr145963_1/SourceAspect.aj')
-rw-r--r--tests/model/pr145963_1/SourceAspect.aj12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/model/pr145963_1/SourceAspect.aj b/tests/model/pr145963_1/SourceAspect.aj
new file mode 100644
index 000000000..e7200e567
--- /dev/null
+++ b/tests/model/pr145963_1/SourceAspect.aj
@@ -0,0 +1,12 @@
+package pkg;
+
+public aspect SourceAspect {
+
+ declare warning : (get(* System.out) || get(* System.err)) : "There should be no printlns";
+
+ pointcut p() : execution(* *.*(..));
+
+ before() : p() {
+ }
+
+}