Skip to content

Commit f1cd9cb

Browse files
committed
[Test] Remove REQUIRES: asserts from tests that use -swift-version 6.
1 parent ad63302 commit f1cd9cb

File tree

60 files changed

+3
-85
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+3
-85
lines changed

include/swift/Basic/Features.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ EXPERIMENTAL_FEATURE(ReferenceBindings, true)
219219
EXPERIMENTAL_FEATURE(BuiltinModule, true)
220220

221221
/// Region Based Isolation testing using the TransferNonSendable pass
222-
EXPERIMENTAL_FEATURE(RegionBasedIsolation, false)
222+
EXPERIMENTAL_FEATURE(RegionBasedIsolation, true)
223223

224224
/// Enable extended callbacks (with additional parameters) to be used when the
225225
/// "playground transform" is enabled.

test/ClangImporter/incomplete_objc_types_availability.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
// REQUIRES: objc_interop
1212
// REQUIRES: executable_test
13-
// REQUIRES: asserts
1413

1514
// Verify that Clang declarations referencing either of the forward declares types "ForwardDeclaredInterface" or
1615
// "ForwardDeclaredProtocol" are usable from Swift.

test/ClangImporter/incomplete_objc_types_base_interface_swift_6.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// REQUIRES: objc_interop
99
// REQUIRES: executable_test
1010
// REQUIRES: OS=macosx
11-
// REQUIRES: asserts
1211

1312
import Foundation
1413
import IncompleteTypeLibrary1

test/ClangImporter/incomplete_objc_types_compatibility_complete_incomplete.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
// REQUIRES: objc_interop
1313
// REQUIRES: executable_test
14-
// REQUIRES: asserts
1514

1615
// "ForwardDeclaredInterface" and "ForwardDeclaredProtocol" are forward declared in IncompleteTypeLibrary1/2, and
1716
// completely declared in CompleteTypes. This test verifies that instances of the complete types can be passed

test/ClangImporter/incomplete_objc_types_compatibility_incomplete_incomplete.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
// REQUIRES: objc_interop
1313
// REQUIRES: executable_test
14-
// REQUIRES: asserts
1514

1615
// Both libraries "IncompleteTypeConsumer1" and "IncompleteTypeConsumer2" forward declare an interface "ForwardDeclaredInterface"
1716
// and a protocol "ForwardDeclaredProtocol". This test verifies that the synthesized Swift declaration created to represent

test/ClangImporter/incomplete_objc_types_full_availability_swift_6.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
// REQUIRES: objc_interop
99
// REQUIRES: executable_test
10-
// REQUIRES: asserts
1110

1211
import IncompleteTypeLibrary1
1312
import CompleteTypes

test/ClangImporter/incomplete_objc_types_importing_limitations_diagnostics.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// RUN: not %target-swift-frontend -swift-version 6 -enable-objc-interop -typecheck -I %S/Inputs/custom-modules/IncompleteTypes %s 2>&1 | %FileCheck %s
33

44
// REQUIRES: objc_interop
5-
// REQUIRES: asserts
65

76
import IncompleteTypeLibrary1
87
import IncompleteNoRootTypeProtocolLibrary

test/ClangImporter/incomplete_objc_types_no_reference.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// RUN: not %target-swift-frontend -swift-version 6 -enable-objc-interop -typecheck -I %S/Inputs/custom-modules/IncompleteTypes %s 2>&1 | %FileCheck %s
33

44
// REQUIRES: objc_interop
5-
// REQUIRES: asserts
65

76
import IncompleteTypeLibrary1
87

test/ClangImporter/incomplete_objc_types_no_root_protocol.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
12-
// REQUIRES: asserts
1312

1413
// Verify that a forward declared protocol not inheriting from NSObject is usable
1514
// from Swift, if cumbersome

test/ClangImporter/incomplete_objc_types_nsproxy.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
12-
// REQUIRES: asserts
1312

1413
// Verify that a forward declared interface for a type inheriting from NSProxy instead
1514
// of NSObject is still usable from Swift.

test/ClangImporter/incomplete_objc_types_swift_definition_imported.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
// RUN: not %target-swift-frontend -swift-version 6 -enable-objc-interop -typecheck -I %S/Inputs/custom-modules/IncompleteTypes -I %t %s 2>&1 | %FileCheck %s
55

66
// REQUIRES: objc_interop
7-
// REQUIRES: asserts
87

98
import CompleteSwiftTypes
109
import ObjCLibraryForwardDeclaringCompleteSwiftTypes

test/ClangImporter/incomplete_objc_types_swift_definition_imported_implementationOnly.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
// RUN: not %target-swift-frontend -swift-version 6 -enable-objc-interop -typecheck -I %S/Inputs/custom-modules/IncompleteTypes -I %t %s 2>&1 | %FileCheck %s
55

66
// REQUIRES: objc_interop
7-
// REQUIRES: asserts
87

98
@_implementationOnly import CompleteSwiftTypes
109
import ObjCLibraryForwardDeclaringCompleteSwiftTypes

test/ClangImporter/incomplete_objc_types_swift_definition_imported_name_conflict.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
// RUN: not %target-swift-frontend -swift-version 6 -enable-objc-interop -typecheck -I %S/Inputs/custom-modules/IncompleteTypes -I %t %s 2>&1 | %FileCheck %s
55

66
// REQUIRES: objc_interop
7-
// REQUIRES: asserts
87

98
import CompleteSwiftTypes
109
import ObjCLibraryForwardDeclaringCompleteSwiftTypes

test/ClangImporter/incomplete_objc_types_swift_ide_test.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
// RUN: -enable-objc-interop -swift-version 6 -source-filename x | %FileCheck %s
1212

1313
// REQUIRES: objc_interop
14-
// REQUIRES: asserts
1514

1615
// CHECK: import Foundation
1716
// CHECK: @available(*, unavailable, message: "This Objective-C class has only been forward-declared; import its owning module to use it")

test/ClangImporter/predates_concurrency_import_swift6.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
// REQUIRES: objc_interop
77
// REQUIRES: concurrency
8-
// REQUIRES: asserts
98

109
@preconcurrency import Foundation
1110

test/Concurrency/actor_isolation_swift6.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// RUN: %target-swift-frontend -disable-availability-checking -swift-version 6 -emit-sil -o /dev/null -verify %s
22

33
// REQUIRES: concurrency
4-
// REQUIRES: asserts
54

65
final class ImmutablePoint: Sendable {
76
let x : Int = 0

test/Concurrency/actor_keypath_isolation_swift6.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %target-swift-frontend -disable-availability-checking -strict-concurrency=complete -swift-version 6 %s -emit-sil -o /dev/null -verify
22
// RUN: %target-swift-frontend -disable-availability-checking -strict-concurrency=complete -swift-version 6 %s -emit-sil -o /dev/null -verify -enable-experimental-feature RegionBasedIsolation
33

4-
// REQUIRES: concurrency && asserts
4+
// REQUIRES: concurrency
55

66
class Box {
77
let size : Int = 0

test/Concurrency/global_actor_inference_swift6.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
// RUN: %target-swift-frontend -swift-version 6 -I %t -disable-availability-checking %s -emit-sil -o /dev/null -verify -enable-experimental-feature RegionBasedIsolation
77

88
// REQUIRES: concurrency
9-
// REQUIRES: asserts
109

1110
import other_global_actor_inference
1211

test/Concurrency/global_actor_serialized.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
// RUN: %target-swift-frontend %s -emit-sil -o /dev/null -verify -disable-availability-checking -swift-version 6 -I %t
55

66
// REQUIRES: concurrency
7-
// REQUIRES: asserts
87

98
// This test ensures that, when loading a Swift 5 serialized module with
109
// a global-actor annotation that is an error in Swift 6, but only a warning

test/Concurrency/global_variables.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// RUN: %target-swift-frontend -disable-availability-checking -parse-as-library -swift-version 6 -I %t %s -emit-sil -o /dev/null -verify %s
44

55
// REQUIRES: concurrency
6-
// REQUIRES: asserts
76

87
@preconcurrency import GlobalVariables
98

test/Concurrency/isolated_default_arguments_serialized.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// RUN: %target-swift-frontend %s -emit-sil -o /dev/null -verify -disable-availability-checking -swift-version 6 -I %t -enable-experimental-feature RegionBasedIsolation -enable-upcoming-feature IsolatedDefaultValues
66

77
// REQUIRES: concurrency
8-
// REQUIRES: asserts
98

109
import SerializedDefaultArguments
1110

test/Concurrency/predates_concurrency_import.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// RUN: %target-swift-frontend -I %t %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature RegionBasedIsolation
1010

1111
// REQUIRES: concurrency
12-
// REQUIRES: asserts
1312

1413
@preconcurrency import NonStrictModule
1514
@_predatesConcurrency import StrictModule // expected-warning{{'@_predatesConcurrency' has been renamed to '@preconcurrency'}}

test/Concurrency/predates_concurrency_import_emitmodule.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// RUN: %target-swift-frontend -emit-module -I %t -verify -primary-file %s -emit-module-path %t/predates_concurrency_import_swiftmodule.swiftmodule -experimental-skip-all-function-bodies -strict-concurrency=complete -enable-experimental-feature RegionBasedIsolation
1010

1111
// REQUIRES: concurrency
12-
// REQUIRES: asserts
1312

1413
@preconcurrency import NonStrictModule
1514
@preconcurrency import StrictModule

test/Concurrency/predates_concurrency_import_swift6.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
// RUN: %target-swift-frontend -swift-version 6 -I %t %s %s -emit-sil -o /dev/null -verify
66
// RUN: %target-swift-frontend -swift-version 6 -I %t %s %s -emit-sil -o /dev/null -verify -enable-experimental-feature RegionBasedIsolation
77

8-
// REQUIRES: asserts
9-
108
@preconcurrency import NonStrictModule
119
@preconcurrency import StrictModule
1210

test/Concurrency/predates_concurrency_swift6.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// RUN: %target-swift-frontend -disable-availability-checking -swift-version 6 %s -emit-sil -o /dev/null -verify -enable-experimental-feature RegionBasedIsolation
33

44
// REQUIRES: concurrency
5-
// REQUIRES: asserts
65

76
@preconcurrency func unsafelySendableClosure(_ closure: @Sendable () -> Void) { }
87

test/Concurrency/property_initializers_swift6.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// RUN: %target-swift-frontend -swift-version 6 -disable-availability-checking -strict-concurrency=complete -emit-sil -o /dev/null -verify %s -enable-experimental-feature RegionBasedIsolation
33

44
// REQUIRES: concurrency
5-
// REQUIRES: asserts
65

76
@globalActor
87
actor GlobalActor {

test/Concurrency/sendable_objc_attr_in_type_context_swift6.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// RUN: -module-name main -I %t -verify
1010

1111
// REQUIRES: objc_interop
12-
// REQUIRES: asserts
1312

1413
//--- Test.h
1514
#define SWIFT_SENDABLE __attribute__((__swift_attr__("@Sendable")))

test/Concurrency/sendable_preconcurrency.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
// RUN: %target-swift-frontend -disable-availability-checking -I %t %s -o /dev/null -verify -emit-sil -strict-concurrency=complete -enable-experimental-feature RegionBasedIsolation
77

88
// REQUIRES: concurrency
9-
// REQUIRES: asserts
109

1110
import StrictModule // no remark: we never recommend @preconcurrency due to an explicitly non-Sendable (via -strict-concurrency=complete) type
1211
@preconcurrency import NonStrictModule

test/Concurrency/sendable_without_preconcurrency.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
// RUN: %target-swift-frontend -strict-concurrency=complete -disable-availability-checking -I %t -verify %s -o /dev/null -emit-sil -verify-additional-prefix complete- -verify-additional-prefix targeted-complete- -enable-experimental-feature RegionBasedIsolation
88

99
// REQUIRES: concurrency
10-
// REQUIRES: asserts
1110

1211
import StrictModule // no remark: we never recommend @preconcurrency due to an explicitly non-Sendable (via -strict-concurrency=complete) type
1312
import NonStrictModule

test/Concurrency/sendable_without_preconcurrency_2.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
// RUN: %target-swift-frontend -strict-concurrency=complete -verify-additional-prefix targeted-complete- -verify-additional-prefix complete- -disable-availability-checking -I %t %s -verify -emit-sil -o /dev/null -enable-experimental-feature RegionBasedIsolation
88

99
// REQUIRES: concurrency
10-
// REQUIRES: asserts
1110

1211
import StrictModule // no remark: we never recommend @preconcurrency due to an explicitly non-Sendable (via -strict-concurrency=complete) type
1312
import NonStrictModule // expected-warning{{add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NonStrictModule'}}

test/Concurrency/toplevel/async-6-top-level.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// RUN: %target-swift-frontend -typecheck -disable-availability-checking -enable-experimental-async-top-level -swift-version 6 %s -verify
22

3-
// REQUIRES: asserts
4-
53
var a = 10
64
// expected-note@-1 2 {{var declared here}}
75
// expected-note@-2 2 {{mutation of this var is only permitted within the actor}}

test/Concurrency/toplevel/main.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// RUN: not %target-swift-frontend -enable-experimental-async-top-level -swift-version 6 -typecheck %s %S/Inputs/foo.swift 2>&1 | %FileCheck %s --check-prefixes='Swift6-CHECK,CHECK'
22
// RUN: not %target-swift-frontend -enable-experimental-async-top-level -swift-version 5 -typecheck %s %S/Inputs/foo.swift 2>&1 | %FileCheck %s --check-prefixes='Swift5-CHECK,CHECK'
33

4-
// REQUIRES: asserts
5-
64
var a = 10
75

86
@MainActor

test/Concurrency/toplevel/no-async-6-top-level.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// RUN: %target-swift-frontend -typecheck -disable-availability-checking -swift-version 6 %s -verify
22

3-
// REQUIRES: asserts
4-
53
// Even though enable-experimental-async-top-level is enabled, there are no
64
// 'await's made from the top-level, thus the top-level is not an asynchronous
75
// context. `a` is just a normal top-level global variable with no actor

test/Concurrency/transfernonsendable_warning_until_swift6.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// RUN: %target-swift-frontend -emit-sil -strict-concurrency=complete -enable-experimental-feature RegionBasedIsolation -disable-availability-checking -verify %s -o /dev/null -swift-version 6 -enable-experimental-feature TransferringArgsAndResults
22

33
// REQUIRES: concurrency
4-
// REQUIRES: asserts
54

65
// This test makes sure that all of our warnings are errors in swift6 mode.
76

test/Constraints/casts_swift6.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
// RUN: %target-typecheck-verify-swift -enable-objc-interop -swift-version 6
22

3-
// -swift-version 6 is currently asserts-only
4-
// REQUIRES: asserts
5-
63
func id<T>(_ x: T) -> T { x }
74
func ohno<T>(_ x: T) -> T? { nil }
85

test/Constraints/dynamic_lookup_swift6.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %target-swift-frontend -emit-module %S/Inputs/PrivateObjC.swift -o %t
33
// RUN: %target-typecheck-verify-swift -swift-version 6 -I %t -verify-ignore-unknown
44

5-
// REQUIRES: objc_interop && asserts
5+
// REQUIRES: objc_interop
66

77
import Foundation
88
import PrivateObjC

test/Constraints/rdar85263844_swift6.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
// RUN: %target-typecheck-verify-swift -swift-version 6
22

3-
// '-swift-version 6' is currently asserts-only
4-
// REQUIRES: asserts
5-
63
// rdar://85263844 - initializer 'init(_:)' requires the types be equivalent
74
func rdar85263844(arr: [(q: String, a: Int)]) -> AnySequence<(question: String, answer: Int)> {
85
AnySequence(arr.map { $0 })

test/Constraints/subscript_swift6.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// RUN: %target-typecheck-verify-swift -swift-version 6
22

3-
// REQUIRES: asserts
4-
53
// Note: In Swift >= 6 mode this would become an error.
64
func test_subscript_accepts_type_name_argument() {
75
struct A {

test/Driver/swift-version-6-noasserts.swift

Lines changed: 0 additions & 10 deletions
This file was deleted.

test/Driver/swift-version-6-asserts.swift renamed to test/Driver/swift-version-6.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// REQUIRES: asserts
2-
31
// RUN: not %target-swiftc_driver -swift-version 6 -typecheck %s 2>&1 | %FileCheck --check-prefix ERROR_6 %s
42
// RUN: not %target-swiftc_driver -swift-version 7 -typecheck %s 2>&1 | %FileCheck --check-prefix ERROR_7 %s
53

test/Frontend/upcoming_feature.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
// It's not fine to provide a feature that's in the specified language version.
1717
// RUN: not %target-swift-frontend -typecheck -enable-upcoming-feature ConciseMagicFile -swift-version 6 %s 2>&1 | %FileCheck %s
18-
// REQUIRES: asserts
1918

2019
// CHECK: error: upcoming feature 'ConciseMagicFile' is already enabled as of Swift version 6
2120

test/ModuleInterface/imports-swift6.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/// Swift 6 variant to imports.swift. Both can be reintegrated once
22
/// -swift-version 6 is accepted by release compilers.
3-
// REQUIRES: asserts
43

54
// RUN: %empty-directory(%t)
65
// RUN: split-file --leading-lines %s %t

test/SILGen/observers_swift6.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// RUN: %target-swift-emit-silgen -swift-version 6 -Xllvm -sil-full-demangle -parse-as-library -disable-objc-attr-requires-foundation-module -enable-objc-interop %s | %FileCheck %s
2-
// REQUIRES: asserts
32

43
class Kitty {
54
var age: Int = 5 {

test/Sema/access-level-and-non-resilient-import.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
// RUN: %empty-directory(%t)
55
// RUN: split-file --leading-lines %s %t
66

7-
// REQUIRES: asserts
8-
97
/// Build the libraries.
108
// RUN: %target-swift-frontend -emit-module %t/DefaultLib.swift -o %t
119
// RUN: %target-swift-frontend -emit-module %t/PublicLib.swift -o %t

test/Sema/access-level-import-inconsistencies.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
// RUN: %empty-directory(%t)
1111
// RUN: split-file %s %t
1212

13-
// REQUIRES: asserts
14-
1513
/// Build the library.
1614
// RUN: %target-swift-frontend -emit-module %t/Lib.swift -o %t
1715

test/Sema/conformance_availability.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// RUN: %target-typecheck-verify-swift -swift-version 6
22

33
// REQUIRES: OS=macosx
4-
// REQUIRES: asserts
54

65
public protocol Horse {}
76
func takesHorse<T : Horse>(_: T) {}

test/Sema/diag_mismatched_magic_literals_swift6.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
// And is also available in Swift 6 mode on asserts compilers.
66
// RUN: %target-typecheck-verify-swift -swift-version 6
7-
// REQUIRES: asserts
87

98
func callee(file: String = #file) {} // expected-note {{'file' declared here}}
109
func callee(fileID: String = #fileID) {} // expected-note {{'fileID' declared here}}

test/Sema/extension_retroactive_conformances_swift6.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// RUN: %target-typecheck-verify-swift -swift-version 6
22

3-
// REQUIRES: asserts
4-
53
struct LocalStruct {}
64
protocol LocalProtocol {}
75

test/Sema/missing-import-inlinable-code.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
// RUN: cat %t/ClientFixed.swiftinterface | %FileCheck -check-prefix ALIASED %s
3737
// ALIASED: import Module___libB
3838

39-
// REQUIRES: asserts
40-
4139
// BEGIN empty.swift
4240

4341
// BEGIN libA.swift

0 commit comments

Comments
 (0)