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

20 lines
186 B
GDScript

#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")