// RUN: %target-typecheck-verify-swift // RUN: %target-swift-frontend -typecheck %s -debug-generic-signatures 2>&1 | %FileCheck %s // CHECK-LABEL: conditional_requirement_inference_in_protocol.(file).Good@ // CHECK-LABEL: Requirement signature: protocol Good { associatedtype T : Equatable associatedtype U : Equatable where T == Array } // CHECK-LABEL: conditional_requirement_inference_in_protocol.(file).Bad@ // CHECK-LABEL: Requirement signature: protocol Bad { associatedtype T : Equatable associatedtype U where T == Array }