Files
swift-mirror/test/IDE/complete_result_builder_func_signature.swift
Alex Hoppen a5a17aa955 [tests] Add a %batch-code-completion lit substitution
I could never remember the command to run batch code completion tests. Add a lit substitution for it.
2023-09-18 13:57:49 -07:00

11 lines
311 B
Swift

// RUN: %batch-code-completion
@resultBuilder struct MyBuilder {
static func buildBlock() -> Int
static func buildBlock<Content>(_ content: Content) -> Content
}
@MyBuilder func test(action: () -> #^COMPLETE^#Void) {}
// COMPLETE: Decl[TypeAlias]/OtherModule[Swift]/IsSystem: Void[#Void#]; name=Void