Files
swift-mirror/validation-test/compiler_crashers_2_fixed/rdar58941114.swift
Robert Widmann 88d6559722 [GSB] Map invalid subject types in requirement constraints to ErrorType
Resolves SR-12072 and rdar://58941114
2020-01-28 10:15:43 -08:00

7 lines
108 B
Swift

// RUN: not %target-swift-frontend %s -typecheck
class C {}
protocol Foo {
associatedtype X where C: X
}