// RUN: %target-swift-frontend -typecheck %s -debug-generic-signatures 2>&1 | %FileCheck %s struct G {} protocol P { associatedtype T } // CHECK-LABEL: ExtensionDecl line={{.*}} base=G // CHECK-NEXT: extension G where Value: P, Value.T: CaseIterable, Value.T.AllCases: RandomAccessCollection {}