Files
swift-mirror/validation-test/compiler_crashers_2/cbbc9a1ce53846d.swift
2025-07-14 19:56:51 +01:00

12 lines
314 B
Swift

// {"kind":"typecheck","signature":"(anonymous namespace)::ExprWalker::rewriteTarget(swift::constraints::SyntacticElementTarget)"}
// RUN: not --crash %target-swift-frontend -typecheck %s
@resultBuilder struct b {
static buildBlock enum c {
@b func d () {
switch c {
case a?:
}
}
}
}