We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc03688 commit 03d9d04Copy full SHA for 03d9d04
validation-test/stdlib/POSIXErrorCode.swift
@@ -1,4 +1,4 @@
1
-// RUN: %target-run-simple-swift
+// RUN: %target-run-simple-swift -strict-concurrency=complete
2
// REQUIRES: executable_test
3
// REQUIRES: VENDOR=apple || OS=linux-androideabi || OS=linux-android || OS=linux-gnu || OS=openbsd || OS=freebsd
4
// UNSUPPORTED: freestanding
@@ -18,6 +18,10 @@ import StdlibUnittest
18
19
var POSIXErrorCodeTestSuite = TestSuite("POSIXErrorCode")
20
21
+// Ensure that POSIXErrorCode is actually Sendable
22
+func send(_ value: some Sendable) {}
23
+send(POSIXErrorCode.EPERM)
24
+
25
#if canImport(Darwin)
26
27
POSIXErrorCodeTestSuite.test("Darwin POSIX error codes constants") {
0 commit comments