mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
14 lines
678 B
Swift
14 lines
678 B
Swift
// RUN: %target-swift-ide-test -print-module -module-to-print=AmbiguousMethods -I %S/Inputs -source-filename=x -enable-experimental-cxx-interop | %FileCheck %s
|
|
|
|
// CHECK: func increment(_ a: Int32) -> Int32
|
|
// CHECK: mutating func incrementMutating(_ a: Int32) -> Int32
|
|
|
|
// CHECK: mutating func incrementMutating(_ a: Int32, _ b: Int32, _ c: inout Int32)
|
|
// CHECK: func increment(_ a: Int32, _ b: Int32, _ c: inout Int32)
|
|
|
|
// CHECK: mutating func incrementMutating(_ a: inout Int32, _ b: Int32)
|
|
// CHECK: func increment(_ a: inout Int32, _ b: Int32)
|
|
|
|
// CHECK: func numberOfMutableMethodsCalled() -> Int32
|
|
// CHECK: mutating func numberOfMutableMethodsCalledMutating() -> Int32
|