virtualx-engine/modules/gdscript/tests/scripts/parser/features/enum.gd
Hugo Locurcio c0083c0f90
Add dozens of new integration tests to the GDScript test suite
This also ignores `.out` files in the file format static checks.
2021-09-14 18:42:08 +02:00

14 lines
144 B
GDScript

enum Size {
S = -10,
M,
L = 0,
XL = 10,
XXL,
}
func test():
print(Size.S)
print(Size.M)
print(Size.L)
print(Size.XL)
print(Size.XXL)