// RUN: %target-swift-frontend -typecheck %s -debug-generic-signatures 2>&1 | %FileCheck %s // RUN: %target-swift-frontend -typecheck %s -debug-generic-signatures -disable-requirement-machine-concrete-contraction 2>&1 | %FileCheck %s struct MyOptionSet : OptionSet { let rawValue: UInt } struct G1 where T.RawValue: FixedWidthInteger & UnsignedInteger {} // CHECK-LABEL: ExtensionDecl line={{[0-9]+}} base=G1 // CHECK-NEXT: Generic signature: extension G1 where T == MyOptionSet {} struct G2 {} // CHECK-LABEL: ExtensionDecl line={{[0-9]+}} base=G2 // CHECK-NEXT: Generic signature: > extension G2 where T == SIMD2 {} struct G3 where T.Scalar: FixedWidthInteger & SignedInteger {} // CHECK-LABEL: ExtensionDecl line={{[0-9]+}} base=G3 // CHECK-NEXT: Generic signature: > extension G3 where T == SIMD2 {} struct G4 {} // CHECK-LABEL: ExtensionDecl line={{[0-9]+}} base=G4 // CHECK-NEXT: Generic signature: extension G4 where T == String {} // CHECK-LABEL: ExtensionDecl line={{[0-9]+}} base=G4 // CHECK-NEXT: Generic signature: extension G4 where T == Substring {}