Files
swift-mirror/validation-test/compiler_crashers_fixed/28852-swift-genericsignaturebuilder-addrequirement-swift-requirementrepr-const-swift-g.swift
Slava Pestov 31176d713a Sema: Only validate all members of a class if we access one of its members
... Or if we subclass it, or define an extension of it.
2017-10-22 20:05:01 -07:00

13 lines
482 B
Swift

// This source file is part of the Swift.org open source project
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
// RUN: not %target-swift-frontend %s -emit-ir
extension P{}
protocol P{{}typealias e:A
protocol A{{}typealias e where f=a
{}class a