aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/systemouts/A.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/systemouts/A.java')
-rw-r--r--tests/bugs/systemouts/A.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/bugs/systemouts/A.java b/tests/bugs/systemouts/A.java
new file mode 100644
index 000000000..6e475b725
--- /dev/null
+++ b/tests/bugs/systemouts/A.java
@@ -0,0 +1,7 @@
+
+/** @testcase PR#57432 NPE's when writing some declare error */
+aspect A {
+ declare error : get(java.io.PrintStream System.out)
+ || call(void Throwable.printStackTrace(..))
+ : "NPE";
+}