Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
libcore
/
3789983e89c9de252ef546a1b98a732a7d066650
/
.
/
test
/
langtools
/
tools
/
javac
/
enum
/
EnumAsIdentifier.java
blob: 65392ba1a95e3ed397fd5d4a77846b5ed8727e79 [
file
] [
log
] [
blame
]
/**
* @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
;
}