Files
swift-mirror/test/Interop/Cxx/foreign-reference/nullable-module-interface.swift
Finagolfin 15e1c73969 [android][test] Enable several C++ Interop and other tests
Also, fix lit.cfg for running the test suite natively in Android and mark one
SILOptimizer executable_test as such.
2024-07-20 17:56:51 +05:30

16 lines
503 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
// 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!)