mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
19 lines
1.0 KiB
Swift
19 lines
1.0 KiB
Swift
// RUN: %target-swift-ide-test -print-module -module-to-print=Methods -I %S/Inputs -source-filename=x -enable-experimental-cxx-interop | %FileCheck %s
|
|
|
|
// CHECK: mutating func nonConstMethod()
|
|
// CHECK: func constMethod()
|
|
|
|
// CHECK: mutating func nonConstPassThrough(_ a: Int32) -> Int32
|
|
// CHECK: func constPassThrough(_ a: Int32) -> Int32
|
|
|
|
// CHECK: mutating func nonConstSum(_ a: Int32, _ b: Int32) -> Int32
|
|
// CHECK: func constSum(_ a: Int32, _ b: Int32) -> Int32
|
|
|
|
// CHECK: mutating func nonConstSum(_ a: NonTrivialInWrapper, _ b: NonTrivialInWrapper) -> Int32
|
|
// CHECK: func constSum(_ a: NonTrivialInWrapper, _ b: NonTrivialInWrapper) -> Int32
|
|
|
|
// CHECK: mutating func nonConstSumAsWrapper(_ a: NonTrivialInWrapper, _ b: NonTrivialInWrapper) -> NonTrivialInWrapper
|
|
// CHECK: func constSumAsWrapper(_ a: NonTrivialInWrapper, _ b: NonTrivialInWrapper) -> NonTrivialInWrapper
|
|
|
|
// CHECK: mutating func nonConstPassThroughAsWrapper(_ a: Int32) -> NonTrivialInWrapper
|
|
// CHECK: func constPassThroughAsWrapper(_ a: Int32) -> NonTrivialInWrapper |