summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/scripts/parser/features/signal_declaration.gd
blob: e4d6a72f9077e7e4bf840e390d5e98ce3c7967c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#GDTEST_OK

# No parentheses.
signal a

# No parameters.
signal b()

# With parameters.
signal c(a, b, c)

# With parameters multiline.
signal d(
	a,
	b,
	c,
)

func test():
	print("Ok")