mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
71af76a87e
With more syntax nodes being specialized, we'd like this straight-forward way to pinpoint unknown entities. This diagnostics is only issued in -emit-syntax frontend action and swift-syntax-test invocation.
4 lines
219 B
Swift
4 lines
219 B
Swift
// RUN: %target-swift-frontend -emit-syntax -primary-file %s -verify
|
|
|
|
typealias Inner: Foo // expected-warning{{unknown declaration syntax exists in the source}} expected-error{{expected '=' in type alias declaration}}
|