Files
swift-mirror/test/SourceKit/Refactoring/semantic-refactoring/fill-stub.swift
Argyrios Kyrtzidis 60a91bb736 [refactoring] Upstreaming the implementation for Swift local refactoring (#11568)
[refactoring] Upstreaming the implementation for Swift local refactoring
2017-08-22 16:50:16 -07:00

11 lines
308 B
Swift

protocol P {
func foo()
}
class C1 : P {}
// RUN: rm -rf %t.result && mkdir -p %t.result
// RUN: %sourcekitd-test -req=fill-stub -pos=5:8 %s -- %s > %t.result/fill-stub.swift.expected
// RUN: diff -u %S/fill-stub.swift.expected %t.result/fill-stub.swift.expected
// REQUIRES-ANY: OS=macosx, OS=linux-gnu