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

8 lines
103 B
GDScript

func wait() -> void:
pass
func test():
@warning_ignore(redundant_await)
await wait()
print("end")