blob: 8ccfd09f1dd59c20861bc6d2551b6a3d4d39c1e8 [file] [log] [blame]
// RUN: %target-typecheck-verify-swift
// Allow inheritance from parenthesized protocol names.
protocol DefaultItem {}
extension DefaultItem {
var isEnabled: Bool { return true }
}
protocol Item: (DefaultItem) {}
func test(item: Item) {
_ = item.isEnabled
}