mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
6 lines
123 B
Swift
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'?}}
|
|
}
|