Files
swift-mirror/validation-test/compiler_crashers_2/ac7123f2338b128.swift
2025-06-23 10:05:22 +01:00

14 lines
407 B
Swift

// {"signature":"swift::TypeChecker::typeCheckTarget(swift::constraints::SyntacticElementTarget&, swift::optionset::OptionSet<swift::TypeCheckExprFlags, unsigned int>, swift::DiagnosticTransaction*)"}
// RUN: not --crash %target-swift-frontend -typecheck %s
enum a
protocol b {
associatedtype c
associatedtype d
init(
e
: c -> d
struct f
: b {
g: d init(e
: a -> _