Files
swift-mirror/test/Serialization/Inputs/top-level-code-other.swift
2020-04-28 14:11:39 -07:00

6 lines
123 B
Swift

func use(_ x: Int) {}
func test() {
use(a!)
use(b) // expected-error {{cannot find 'b' in scope; did you mean 'a'?}}
}