mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
8 lines
380 B
Swift
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: }
|