Skip to content

Commit c15b732

Browse files
authored
Merge pull request #41269 from rintaro/5.6-version6-assserts-1
[5.6][Test] Add `REQUIRES: asserts` to `-swift-version 6` test case
2 parents eda8499 + c26bd70 commit c15b732

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)