Files
swift-mirror/test/Interop/Cxx/foreign-reference/singleton-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

40 lines
1.2 KiB
Swift

// RUN: %target-swift-ide-test -print-module -module-to-print=Singleton -I %S/Inputs -source-filename=x -enable-experimental-cxx-interop | %FileCheck %s
//
// XFAIL: OS=linux-android, OS=linux-androideabi
// CHECK: class DeletedDtor {
// CHECK-NOT: init
// CHECK: var value: Int32
// CHECK: func test() -> Int32
// CHECK: func testMutable() -> Int32
// CHECK: class func create() -> DeletedDtor
// CHECK: }
// CHECK: func mutateIt(_ x: DeletedDtor)
// CHECK: class PrivateDtor {
// CHECK-NOT: init
// CHECK: var value: Int32
// CHECK: func test() -> Int32
// CHECK: func testMutable() -> Int32
// CHECK: class func create() -> PrivateDtor
// CHECK: }
// CHECK: func mutateIt(_ x: PrivateDtor)
// CHECK: class DeletedSpecialMembers {
// CHECK-NOT: init
// CHECK: var value: Int32
// CHECK: func test() -> Int32
// CHECK: func testMutable() -> Int32
// CHECK: class func create() -> DeletedSpecialMembers
// CHECK: }
// CHECK: func mutateIt(_ x: DeletedSpecialMembers)
// CHECK: class PrivateSpecialMembers {
// CHECK-NOT: init
// CHECK: var value: Int32
// CHECK: func test() -> Int32
// CHECK: func testMutable() -> Int32
// CHECK: class func create() -> PrivateSpecialMembers
// CHECK: }
// CHECK: func mutateIt(_ x: PrivateSpecialMembers)