virtualx-engine/modules/gdscript/tests/scripts/parser/features/signal_declaration.gd

21 lines
186 B
GDScript3
Raw Normal View History

#GDTEST_OK
# No parentheses.
signal a
# No parameters.
signal b()
# With paramters.
signal c(a, b, c)
# With parameters multiline.
signal d(
a,
b,
c,
)
func test():
print("Ok")