mirror of
https://github.com/apple/swift.git
synced 2026-02-27 18:26:24 +01:00
10 lines
199 B
Swift
10 lines
199 B
Swift
// RUN: %target-swift-frontend -typecheck -primary-file %S/../../Inputs/empty.swift %s -verify
|
|
|
|
struct A: Collection {
|
|
struct Index: Comparable {}
|
|
}
|
|
|
|
extension A.Index {
|
|
// Force validate "A".
|
|
}
|