Files
swift-mirror/validation-test/IDE/crashers_fixed/subexpr-literal-in-sequence-expr.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

12 lines
299 B
Swift

// RUN: %batch-code-completion
func test1() {
1 + [0]#^A^#
// A: Decl[InstanceVar]/CurrNominal/IsSystem/TypeRelation[Convertible]: .startIndex[#Int#]; name=startIndex
}
func test2() {
"" + [""]#^B^#
// B: Decl[InstanceVar]/CurrNominal/IsSystem: .startIndex[#Int#]; name=startIndex
}