Files
swift-mirror/test/Interop/Cxx/class/mutability-annotations-module-interface.swift
zoecarver 839839f924 [cxx-interop] Rename enable-cxx-interop -> enable-experimental-cxx-interop.
Also removes the driver flag, this will now also always be guarded on `-Xfrontend`.
2022-04-07 19:15:25 -07:00

8 lines
380 B
Swift

// RUN: %target-swift-ide-test -print-module -module-to-print=MutabilityAnnotations -I %S/Inputs -source-filename=x -enable-experimental-cxx-interop | %FileCheck %s
// CHECK: struct HasConstMethodAnnotatedAsMutating {
// CHECK: mutating func annotatedMutating() -> Int32
// CHECK: mutating func annotatedMutatingWithOtherAttrs() -> Int32
// CHECK: var a: Int32
// CHECK: }