mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Update tests
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
// RUN: -experimental-allow-non-resilient-access \
|
||||
// RUN: -emit-module -emit-module-path %t/Utils.swiftmodule \
|
||||
// RUN: 2>&1 | %FileCheck %s --check-prefix=CHECK-DIAG-1
|
||||
// CHECK-DIAG-1: warning: ignoring -experimental-skip-non-exportable-decls (overriden by -allow-non-resilient-access)
|
||||
// CHECK-DIAG-1: warning: ignoring -experimental-skip-non-exportable-decls (overridden by -allow-non-resilient-access)
|
||||
// RUN: llvm-bcanalyzer --dump %t/Utils.swiftmodule | %FileCheck %s --check-prefix=CHECK-ON
|
||||
|
||||
/// Override -experimental-skip-non-inlinable-function-bodies-without-types with warning
|
||||
@@ -57,7 +57,7 @@
|
||||
// RUN: -experimental-allow-non-resilient-access \
|
||||
// RUN: -emit-module -emit-module-path %t/Utils.swiftmodule \
|
||||
// RUN: 2>&1 | %FileCheck %s --check-prefix=CHECK-DIAG-2
|
||||
// CHECK-DIAG-2: warning: ignoring -experimental-skip-non-inlinable-function-bodies-without-types (overriden by -allow-non-resilient-access)
|
||||
// CHECK-DIAG-2: warning: ignoring -experimental-skip-non-inlinable-function-bodies-without-types (overridden by -allow-non-resilient-access)
|
||||
// RUN: llvm-bcanalyzer --dump %t/Utils.swiftmodule | %FileCheck %s --check-prefix=CHECK-ON
|
||||
|
||||
/// Override -experimental-skip-non-inlinable-function-bodies with warning
|
||||
@@ -70,7 +70,7 @@
|
||||
// RUN: -experimental-allow-non-resilient-access \
|
||||
// RUN: -emit-module -emit-module-path %t/Utils.swiftmodule \
|
||||
// RUN: 2>&1 | %FileCheck %s --check-prefix=CHECK-DIAG-3
|
||||
// CHECK-DIAG-3: warning: ignoring -experimental-skip-non-inlinable-function-bodies (overriden by -allow-non-resilient-access)
|
||||
// CHECK-DIAG-3: warning: ignoring -experimental-skip-non-inlinable-function-bodies (overridden by -allow-non-resilient-access)
|
||||
// RUN: llvm-bcanalyzer --dump %t/Utils.swiftmodule | %FileCheck %s --check-prefix=CHECK-ON
|
||||
|
||||
/// Override -experimental-skip-all-function-bodies with warning
|
||||
@@ -83,7 +83,7 @@
|
||||
// RUN: -experimental-allow-non-resilient-access \
|
||||
// RUN: -emit-module -emit-module-path %t/Utils.swiftmodule \
|
||||
// RUN: 2>&1 | %FileCheck %s --check-prefix=CHECK-DIAG-4
|
||||
// CHECK-DIAG-4: warning: ignoring -experimental-skip-all-function-bodies (overriden by -allow-non-resilient-access)
|
||||
// CHECK-DIAG-4: warning: ignoring -experimental-skip-all-function-bodies (overridden by -allow-non-resilient-access)
|
||||
// RUN: llvm-bcanalyzer --dump %t/Utils.swiftmodule | %FileCheck %s --check-prefix=CHECK-ON
|
||||
|
||||
/// Override -experimental-lazy-typecheck with warning
|
||||
@@ -96,7 +96,7 @@
|
||||
// RUN: -experimental-allow-non-resilient-access \
|
||||
// RUN: -emit-module -emit-module-path %t/Utils.swiftmodule \
|
||||
// RUN: 2>&1 | %FileCheck %s --check-prefix=CHECK-DIAG-5
|
||||
// CHECK-DIAG-5: warning: ignoring -experimental-lazy-typecheck (overriden by -allow-non-resilient-access)
|
||||
// CHECK-DIAG-5: warning: ignoring -experimental-lazy-typecheck (overridden by -allow-non-resilient-access)
|
||||
// RUN: llvm-bcanalyzer --dump %t/Utils.swiftmodule | %FileCheck %s --check-prefix=CHECK-ON
|
||||
|
||||
/// Override -tbd-is-installapi with warning
|
||||
@@ -109,7 +109,7 @@
|
||||
// RUN: -experimental-allow-non-resilient-access \
|
||||
// RUN: -emit-module -emit-module-path %t/Utils.swiftmodule \
|
||||
// RUN: 2>&1 | %FileCheck %s --check-prefix=CHECK-DIAG-TBD
|
||||
// CHECK-DIAG-TBD: warning: ignoring -tbd-is-installapi (overriden by -allow-non-resilient-access)
|
||||
// CHECK-DIAG-TBD: warning: ignoring -tbd-is-installapi (overridden by -allow-non-resilient-access)
|
||||
// RUN: llvm-bcanalyzer --dump %t/Utils.swiftmodule | %FileCheck %s --check-prefix=CHECK-ON
|
||||
|
||||
/// Build Utils interface files.
|
||||
@@ -130,7 +130,7 @@
|
||||
// RUN: -allow-non-resilient-access \
|
||||
// RUN: %t/Utils.package.swiftinterface -o %t/Utils.swiftmodule \
|
||||
// RUN: 2>&1 | %FileCheck %s --check-prefix=CHECK-DIAG-INTERFACE
|
||||
// CHECK-DIAG-INTERFACE: warning: ignoring -allow-non-resilient-access (overriden by -compile-module-from-interface)
|
||||
// CHECK-DIAG-INTERFACE: warning: ignoring -allow-non-resilient-access (overridden by -compile-module-from-interface)
|
||||
// RUN: llvm-bcanalyzer --dump %t/Utils.swiftmodule | %FileCheck %s --check-prefix=CHECK-OFF
|
||||
// CHECK-OFF-NOT: ALLOW_NON_RESILIENT_ACCESS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user