diff options
Diffstat (limited to 'tests/features164/declareMixin/CaseI.java')
-rw-r--r-- | tests/features164/declareMixin/CaseI.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/features164/declareMixin/CaseI.java b/tests/features164/declareMixin/CaseI.java new file mode 100644 index 000000000..e87040250 --- /dev/null +++ b/tests/features164/declareMixin/CaseI.java @@ -0,0 +1,16 @@ +// TESTING: invalid entry in interfaces +import org.aspectj.lang.annotation.*; + +public class CaseI { + public static void main(String[]argv) { } +} + +aspect X { + @DeclareMixin(value="X",interfaces={String.class}) + public static I createImplementation() { + return null; + } +} + +interface I {} + |