Files
swift-mirror/validation-test/compiler_crashers_2_fixed/0212-rdar85840928.swift
Doug Gregor 4fccfccadf [Clang importer] Don't insert members found via lookup into the wrong context.
Discovered while investigating rdar://85840928.
2021-12-01 09:57:32 -08:00

10 lines
191 B
Swift

// RUN: %target-swift-frontend -import-objc-header %S/Inputs/0212-header.h -emit-sil %s
extension MyPoint {
var x: Int { Int(y) }
}
public func printIt(point: MyPoint) {
print(point)
}