mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
14 lines
265 B
Java
14 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;
|
|
|
|
}
|
|
|