1 /*
2  * @test /nodynamiccopyright/
3  * @bug 7042623
4  * @summary Regression: javac silently crash when attributing non-existent annotation
5  * @compile/fail/ref=T7042623.out -XDrawDiagnostics -XDdev T7042623.java
6  */
7 
8 @interface Defined2 {}
9 
10 @Undefined1(@Defined2)
11 class Test1{}
12 
13