mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
- #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.
35 lines
1.2 KiB
Swift
35 lines
1.2 KiB
Swift
// RUN: %target-swift-ide-test -print-module -module-to-print=MoveOnly -I %S/Inputs -source-filename=x -enable-experimental-cxx-interop | %FileCheck %s
|
|
//
|
|
// XFAIL: OS=linux-android, OS=linux-androideabi
|
|
|
|
// CHECK: class MoveOnly {
|
|
// CHECK-NOT: init
|
|
// CHECK: func test() -> Int32
|
|
// CHECK: func testMutable() -> Int32
|
|
// CHECK: class func create() -> MoveOnly
|
|
// CHECK: }
|
|
// CHECK-NOT: func moveIntoResult(_ x: MoveOnly) -> MoveOnly
|
|
|
|
// CHECK: class HasMoveOnlyChild {
|
|
// CHECK-NOT: init
|
|
// CHECK-NOT: var child: MoveOnly
|
|
// CHECK: class func create() -> HasMoveOnlyChild
|
|
// CHECK: }
|
|
// CHECK-NOT: func moveIntoResult(_ x: HasMoveOnlyChild) -> HasMoveOnlyChild
|
|
|
|
// CHECK: class PrivateCopyCtor {
|
|
// CHECK-NOT: init
|
|
// CHECK: func test() -> Int32
|
|
// CHECK: func testMutable() -> Int32
|
|
// CHECK: class func create() -> PrivateCopyCtor
|
|
// CHECK: }
|
|
// CHECK-NOT: func moveIntoResult(_ x: PrivateCopyCtor) -> PrivateCopyCtor
|
|
|
|
// CHECK: class BadCopyCtor {
|
|
// CHECK-NOT: init
|
|
// CHECK: func test() -> Int32
|
|
// CHECK: func testMutable() -> Int32
|
|
// CHECK: class func create() -> BadCopyCtor
|
|
// CHECK: }
|
|
// CHECK-NOT: func moveIntoResult(_ x: BadCopyCtor) -> BadCopyCtor
|