diff options
Diffstat (limited to 'tests/bugs1810/ambig/X.java')
-rw-r--r-- | tests/bugs1810/ambig/X.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs1810/ambig/X.java b/tests/bugs1810/ambig/X.java new file mode 100644 index 000000000..6f0a73d97 --- /dev/null +++ b/tests/bugs1810/ambig/X.java @@ -0,0 +1,13 @@ +import java.util.List; + +aspect F { + void A.xx(List<String> x) { } +} +class A { + //void xx(List<String> x) {} +} +class E { + void foo() { + new A() {}.xx(null); + } +} |