jdk-24/langtools/test/tools/javac/T7042623.java
Werner Dietl e5c34a89eb 8026564: import changes from type-annotations forest
Co-authored-by: Steve Sides <steve.sides@oracle.com>
Reviewed-by: jjg
2013-10-15 15:57:13 -07:00

14 lines
286 B
Java

/*
* @test /nodynamiccopyright/
* @bug 7042623
* @summary Regression: javac silently crash when attributing non-existent annotation
* @ignore
* @compile/fail/ref=T7042623.out -XDrawDiagnostics -XDdev T7042623.java
*/
@interface Defined2 {}
@Undefined1(@Defined2)
class Test1{}