Files
swift-mirror/validation-test/compiler_crashers_2_fixed/0162-sr8019.swift
2021-03-18 23:28:52 -07:00

6 lines
216 B
Swift

// RUN: %target-typecheck-verify-swift
protocol P {}
struct A<C> {}
extension A: P where A: P {} // expected-error {{type 'A<C>' in conformance requirement does not refer to a generic parameter or associated type}}