mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The directory currently seems to have a mix of tests for import resolution and name lookup. Therefore split it into two directories; ImportResolution and NameLookup.
13 lines
423 B
Swift
13 lines
423 B
Swift
private var global: String = "abc"
|
|
|
|
extension MyStruct {
|
|
private static func method() -> String? { return nil }
|
|
}
|
|
|
|
// Note: These are deliberately 'private' here and 'internal' in the other file.
|
|
// They're testing that we don't filter out non-discriminated decls in lookup.
|
|
private func process(_ x: String) -> String { return x }
|
|
extension MyStruct {
|
|
private static func process(_ x: String) -> String { return x }
|
|
}
|