summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/scripts/parser/features/signal_declaration.gd
blob: 9ad98b78a898fec1155585c3b35993d2e5670acb (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 paramters.
signal c(a, b, c)

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

func test():
	print("Ok")