sealed enum Test {} enum Test2 : Test {}
Compiles fine, but should throw a compile error, because "Test" is sealed.
sealed enum Test {} enum Test2 : Test {}
Compiles fine, but should throw a compile error, because "Test" is sealed.
Compile
sealed enum Test {} enum Test2 : Test {}