Files
swift-mirror/validation-test/compiler_crashers_2_fixed/rdar64759168.swift
2020-07-08 23:08:40 -04:00

16 lines
452 B
Swift

// RUN: %target-swift-frontend -emit-ir %s
public class Clazz {}
public protocol SelectableFieldValueProtocol {}
public protocol FieldProtocol {
associatedtype SelectableValue : SelectableFieldValueProtocol
}
public protocol SelectFieldValueCoordinatorDelegate {
associatedtype Field : Clazz, FieldProtocol
}
public class SelectFieldValueCoordinator<Field, Delegate : SelectFieldValueCoordinatorDelegate> where Field == Delegate.Field {}