mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
11 lines
367 B
Swift
11 lines
367 B
Swift
// RUN: %target-swift-ide-test -print-module -module-to-print=MutableMembers -I %S/Inputs -source-filename=x -enable-experimental-cxx-interop | %FileCheck %s
|
|
|
|
// CHECK: struct HasPublicMutableMember {
|
|
// CHECK: mutating func foo() -> Int32
|
|
// CHECK: var a: Int32
|
|
// CHECK: }
|
|
|
|
// CHECK: struct HasPrivateMutableMember {
|
|
// CHECK: mutating func bar()
|
|
// CHECK: }
|