Skip to content

Commit 43dce84

Browse files
Merge pull request #76778 from nate-chandler/general-coro/20240930/1
[Test] Add asserts req to experimental tests.
2 parents cd6864a + 6be4090 commit 43dce84

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

test/ModuleInterface/coroutine_accessors.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
// RUN: %FileCheck %s < %t.swiftinterface
77
// RUN: %target-swift-typecheck-module-from-interface(%t.swiftinterface) -module-name Rock
88

9+
// REQUIRES: asserts
10+
911
var _i: Int = 0
1012

1113
// CHECK: #if compiler(>=5.3) && $CoroutineAccessors

test/Parse/coroutine_accessors.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
// RUN: -verify-additional-prefix disabled- \
77
// RUN: -debug-diagnostic-names
88

9+
// REQUIRES: asserts
10+
911
var _i: Int = 0
1012

1113
// Order of accessor kinds:

test/Parse/coroutine_accessors_ambiguity.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
// RUN: -verify-additional-prefix disabled- \
77
// RUN: -debug-diagnostic-names
88

9+
// REQUIRES: asserts
10+
911
// Properties with implicit getters which call functions named modify.
1012

1113
func modify<T>(_ c : () -> T) -> T { c() }

test/SILGen/coroutine_accessors.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// RUN: -enable-experimental-feature CoroutineAccessors \
44
// RUN: | %FileCheck %s
55

6+
// REQUIRES: asserts
7+
68
public struct S {
79
public var o: any AnyObject
810
public var _i: Int = 0

test/Sema/coroutine_accessors.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// RUN: -enable-experimental-feature CoroutineAccessors \
44
// RUN: -debug-diagnostic-names
55

6+
// REQUIRES: asserts
67

78
struct S {
89
var i: Int

0 commit comments

Comments
 (0)