godot/modules/gdscript/tests/scripts/analyzer/warnings/cast_enum_bad_int.gd

enum MyEnum { ENUM_VALUE_1, ENUM_VALUE_2 }

func test():
	print(2 as MyEnum)