mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
14 lines
240 B
Swift
14 lines
240 B
Swift
// RUN: not %target-swift-frontend -typecheck %s
|
|
|
|
struct CommandContext<Command> {
|
|
init() {
|
|
let input = [1,2,3].filter {
|
|
|
|
extension CommandContext {
|
|
struct Options {
|
|
subscript<T>(path: T) -> Int {
|
|
fatalError()
|
|
}
|
|
}
|
|
}
|