mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The incomplete fields will trigger different assertions when clang is sythensizing constructors/destructors rdar://109417079
18 lines
555 B
Swift
18 lines
555 B
Swift
// RUN: %target-swift-ide-test -print-module -module-to-print=Nullable -I %S/Inputs -source-filename=x -enable-experimental-cxx-interop | %FileCheck %s
|
|
//
|
|
// XFAIL: OS=linux-android, OS=linux-androideabi
|
|
|
|
// CHECK: class Empty {
|
|
// CHECK: func test() -> Int32
|
|
// CHECK: class func create() -> Empty!
|
|
// CHECK: }
|
|
// CHECK: func mutateIt(_: Empty)
|
|
|
|
// CHECK: class IntPair {
|
|
// CHECK: func test() -> Int32
|
|
// CHECK: class func create() -> IntPair!
|
|
// CHECK: var a: Int32
|
|
// CHECK: var b: Int32
|
|
// CHECK: }
|
|
// CHECK: func mutateIt(_ x: IntPair!)
|