Files
swift-mirror/test/Interop/Cxx/foreign-reference/nullable-module-interface.swift
Butta 3933fc0006 [android][test] Fix several tests on the Android CI
- #58975 switched many tests from XFAIL on linux to linux-gnu, so seven
  fail on the Android CI and two natively. They are now explicitly excluded.
- #39605 added several C++ Interop tests, 11 of which fail on the Android CI,
  so disable them for now.
- #42478 removed the @noescape attribute for the non-Android
  SIL/clang-function-types tests, so I remove it for Android too.
- My pull #40779 moved the Swift pointer tags to the second byte, so
  SILOptimizer/concat_string_literals.64 will need to be updated for that,
  disabled it for now.
- Compiler-rt moved the directory in which it places those libraries for
  Android, llvm/llvm-project@a68ccba, so lit.cfg is updated for that.
2022-06-09 14:35:41 +05:30

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: var a: Int32
// CHECK: var b: Int32
// CHECK: func test() -> Int32
// CHECK: class func create() -> IntPair!
// CHECK: }
// CHECK: func mutateIt(_ x: IntPair!)