mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge remote-tracking branch 'origin/main' into rebranch
This commit is contained in:
23
test/SourceKit/CodeComplete/issue-76944.swift
Normal file
23
test/SourceKit/CodeComplete/issue-76944.swift
Normal 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
|
||||
Reference in New Issue
Block a user