godot/modules/gdscript/tests/scripts/analyzer/features/use_preload_script_as_type.gd

const preloaded: GDScript = preload("gdscript_to_preload.notest.gd")

func test():
	var preloaded_instance: preloaded = preloaded.new()
	print(preloaded_instance.something())