mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
6 lines
316 B
Swift
6 lines
316 B
Swift
// {"signature":"swift::ProtocolConformanceRef::forAbstract(swift::Type, swift::ProtocolDecl*)"}
|
|
// RUN: not %target-swift-frontend -typecheck %s
|
|
@resultBuilder struct a {
|
|
static buildBlock<b, c, d, e>(b, c, d, e) func f<h>(_ : Bool @a Bool->h) { f(true {
|
|
cond in var g : Int g 2 30\ g
|