0N/A/*
0N/A * @test /nodynamiccopyright/
0N/A * @bug 6245591
610N/A * @compile/ref=T6245591.out -XDrawDiagnostics -Xlint:all,-path T6245591.java
0N/A */
0N/Aenum Season {
0N/A /** @deprecated */
0N/A WINTER, SPRING, SUMMER, FALL;
0N/A}
0N/Aenum Season1 {
0N/A WINTER, SPRING, SUMMER, FALL;
0N/A}
0N/Aclass T6245591 {
0N/A void m() {
0N/A Season s1 = Season.WINTER; // ref to WINTER should be deprecated
0N/A Season1 s2 = Season1.WINTER; // nothing here should be deprecated;
0N/A // @deprecated should not leak out of Season
0N/A }
0N/A}