Files
swift-mirror/validation-test/compiler_crashers_2_fixed/0043-rdar25298116.swift
David Farler b7d17b25ba Rename -parse flag to -typecheck
A parse-only option is needed for parse performance tracking and the
current option also includes semantic analysis.
2016-11-28 10:50:55 -08:00

15 lines
212 B
Swift

// RUN: %target-swift-frontend %s -typecheck
public protocol P1 {
associatedtype A1
}
public protocol P2 : P1 {
associatedtype A2 : P1
var prop1: A2 { get }
}
extension P2 {
public typealias A1 = A2
}