Minor, add test on Java enum with specialized entry
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package test;
|
||||
|
||||
public enum EnumWithSpecializedEntry {
|
||||
E1,
|
||||
|
||||
E2 {
|
||||
String foo() {
|
||||
return name();
|
||||
}
|
||||
};
|
||||
|
||||
static class Nested {}
|
||||
}
|
||||
Reference in New Issue
Block a user