mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
I could never remember the command to run batch code completion tests. Add a lit substitution for it.
12 lines
299 B
Swift
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
|
|
}
|
|
|