Files
swift-mirror/validation-test/compiler_crashers_fixed/0164-issue-50522.swift
Hamish Knight 4e811c3a88 [test] Merge crasher directories
There is no longer much of a good reason to keep these separate,
merge them.
2025-10-18 12:51:30 +01:00

17 lines
366 B
Swift

// RUN: %target-typecheck-verify-swift -debug-generic-signatures 2>&1 | %FileCheck %s
// https://github.com/apple/swift/issues/50522
protocol P1 {}
protocol P2 {}
struct Var<N> {}
extension Var : P2 where N : P1 { }
protocol P3 {}
// CHECK: ExtensionDecl line={{.*}} base=Var
// CHECK: Generic signature: <N where N : P1>
extension Var : P3 where Self : P2 {}