3789983e89
Reviewed-by: darcy, ihse
15 lines
265 B
Java
15 lines
265 B
Java
/**
|
|
* @test /nodynamiccopyright/
|
|
* @bug 8025537
|
|
* @author sogoel
|
|
* @summary enum keyword used as an identifier
|
|
* @compile/fail/ref=EnumAsIdentifier.out -XDrawDiagnostics EnumAsIdentifier.java
|
|
*/
|
|
|
|
public class EnumAsIdentifier {
|
|
|
|
int enum = 0;
|
|
|
|
}
|
|
|