mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Remove `%mcp_opt` from commands that use `%sourcekitd-test` and `%complete-test`, as they are now redundant with the lit substitution.
15 lines
497 B
Swift
15 lines
497 B
Swift
|
|
func test(_ b : Base) {
|
|
b.doIt(0);
|
|
}
|
|
|
|
// REQUIRES: objc_interop
|
|
// RUN: %sourcekitd-test -req=cursor -pos=3:7 %s -- %s -F %S/Inputs -module-name Mixed -import-underlying-module | %FileCheck %s
|
|
|
|
// CHECK: source.lang.swift.ref.function.method.instance ({{.*}}Mixed.framework/Headers/Mixed.h:5:9-5:23)
|
|
// CHECK: doIt(_:)
|
|
// CHECK: c:objc(cs)Base(im)doIt:
|
|
// CHECK: (Base) -> (Int32) -> ()
|
|
// CHECK: Mixed
|
|
// CHECK: <Declaration>func doIt(_ arg: <Type usr="s:s5Int32V">Int32</Type>)</Declaration>
|