mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
13 lines
399 B
Swift
13 lines
399 B
Swift
// {"signature":"swift::constraints::ConstraintSystem::setBuilderTransformedBody(swift::AnyFunctionRef, swift::NominalTypeDecl*, swift::NullablePtr<swift::VarDecl>, swift::NullablePtr<swift::BraceStmt>)"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
protocol a {
|
|
@resultBuilder struct b
|
|
}
|
|
struct c < d {
|
|
init(@b content : () -> d
|
|
}
|
|
extension c : a
|
|
struct b {
|
|
e {
|
|
c {
|