godot/modules/gdscript/tests/scripts/analyzer/warnings/inference_with_variant.gd

func test():
	var inferred_with_variant := return_variant()
	print(inferred_with_variant)

func return_variant() -> Variant:
	return "warn"