godot/modules/gdscript/tests/scripts/runtime/features/object_constructor.gd

7 lines
113 B
GDScript

# GH-73213
func test():
var object := Object.new() # Not `Object()`.
print(object.get_class())
object.free()