aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs151/pr123901/B.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs151/pr123901/B.java')
-rw-r--r--tests/bugs151/pr123901/B.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/bugs151/pr123901/B.java b/tests/bugs151/pr123901/B.java
new file mode 100644
index 000000000..df8baf065
--- /dev/null
+++ b/tests/bugs151/pr123901/B.java
@@ -0,0 +1,8 @@
+package a;
+public aspect B {
+ void around():call(void *(..)){
+ A a = new A();
+ a.A.a.x(); // This line raises the NPE
+ proceed();
+ }
+}