// {"kind":"typecheck","signature":"(anonymous namespace)::TypeJoin::join(swift::CanType, swift::CanType)","signatureAssert":"Assertion failed: (isa(Val) && \"cast() argument of incompatible type!\"), function cast"} // RUN: not --crash %target-swift-frontend -typecheck %s class a protocol b < c { associatedtype c } [ b, a & b