jdk-24/test/langtools/tools/javac/annotations/neg/Z13.java

13 lines
271 B
Java
Raw Normal View History

2007-12-01 00:00:00 +00:00
/*
* @test /nodynamiccopyright/
2007-12-01 00:00:00 +00:00
* @bug 4865660
* @summary implement "metadata" (attribute interfaces and program annotations)
* @author gafter
*
* @compile/fail/ref=Z13.out -XDrawDiagnostics Z13.java
2007-12-01 00:00:00 +00:00
*/
@interface An {
int a() throws NullPointerException;
}