mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This preserving source location info and reduces redundancy in the parser. Swift SVN r1065
10 lines
133 B
Swift
10 lines
133 B
Swift
// RUN: %swift %s -verify
|
|
|
|
import swift
|
|
|
|
var x : int
|
|
|
|
func test() {
|
|
var y : x // expected-error {{'x' does not name a type}}
|
|
}
|
|
|