summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts/parser/features/single_line_declaration.gd
blob: 650500663b282280e894be3d2f0bac5ac8f54edd (plain)
1
2
3
4
5
6
7
8
9
10
11
#GDTEST_OK

func test(): C.new().test("Ok"); test2()

func test2(): print("Ok 2")

class A: pass

class B extends RefCounted: pass

class C extends RefCounted: func test(x): print(x)