mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This will parse the source file into a libSyntax tree and verify that no unknown nodes exist within it
4 lines
217 B
Swift
4 lines
217 B
Swift
// RUN: %target-swift-frontend -emit-syntax -primary-file %s -verify
|
|
|
|
typealias Inner: Foo // expected-error{{unknown declaration syntax exists in the source}} expected-error{{expected '=' in type alias declaration}}
|