Files
swift-mirror/test/Interop/Cxx/class/mutable-members-with-mutating-annotation-module-interface.swift
2024-03-08 20:13:27 +00:00

11 lines
438 B
Swift

// RUN: %target-swift-ide-test -print-module -module-to-print=MutableMembers -I %S/Inputs -source-filename=x -enable-experimental-cxx-interop -Xcc -DUSE_MUTATING -I %swift_src_root/lib/ClangImporter/SwiftBridging | %FileCheck %s
// CHECK: struct HasPublicMutableMember {
// CHECK: mutating func foo() -> Int32
// CHECK: var a: Int32
// CHECK: }
// CHECK: struct HasPrivateMutableMember {
// CHECK: mutating func bar()
// CHECK: }