Skip to content

Commit c26bd70

Browse files
committed
[Test] Add REQUIRES: asserts to -swift-version 6 test case
1 parent eda8499 commit c26bd70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/Concurrency/property_initializers_swift6.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %target-typecheck-verify-swift -swift-version 6 -disable-availability-checking -warn-concurrency
22
// REQUIRES: concurrency
33

4+
// REQUIRES: asserts
45

56
@MainActor
67
func mainActorFn() -> Int { return 0 } // expected-note 2 {{calls to global function 'mainActorFn()' from outside of its actor context are implicitly asynchronous}}

0 commit comments

Comments
 (0)