package enums_in; public enum A_test1151 { A; static { /*[*/foo();/*]*/ } private static void foo() { } }