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