Merge remote-tracking branch 'origin/main' into rebranch

This commit is contained in:
swift-ci
2024-10-10 23:13:50 -07:00
5 changed files with 39 additions and 17 deletions

View File

@@ -0,0 +1,23 @@
// RUN: %empty-directory(%t)
// RUN: split-file %s %t
//--- input.swift
//--- input2.swift
func body() {
extension InvalidProto {}
//--- input3.swift
func body() {
extension InvalidProto {}
struct MyStruct {
//--- dummy.swift
// RUN: %sourcekitd-test \
// RUN: -req=open %t/input.swift -req-opts=syntactic_only=1 -print-raw-response == \
// RUN: -req=typecontextinfo -pos=4:1 %t/input.swift -text-input %t/input2.swift -- %t/input.swift == \
// RUN: -req=complete -pos=6:1 %t/input.swift -text-input %t/input3.swift -repeat-request 2 -- %t/input.swift