test/tools/javac/diags/examples/EnumAsIdentifier.java

changeset 757
c44234f680da
parent 610
3640b60bd0f6
child 2525
2eb010b6cb22
equal deleted inserted replaced
756:d44d6d8493ad 757:c44234f680da
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 */ 22 */
23 23
24 // key: compiler.warn.enum.as.identifier 24 // key: compiler.warn.enum.as.identifier
25 // options: -source 1.3 25 // options: -source 1.3 -Xlint:-options
26 26
27 class EnumAsIdentifier { 27 class EnumAsIdentifier {
28 int enum; 28 int enum;
29 } 29 }

mercurial