godot/modules/gdscript/tests/scripts/parser/features/single_line_declaration.gd

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
183 B
GDScript3
Raw Normal View History

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