We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63c24af commit 68bd778Copy full SHA for 68bd778
test/Interop/Cxx/stdlib/use-std-optional.swift
@@ -16,11 +16,8 @@ StdOptionalTestSuite.test("pointee") {
16
let pointee = nonNilOpt.pointee
17
expectEqual(123, pointee)
18
19
-#if !os(Linux) // crashes on Ubuntu 18.04 (rdar://113414160)
20
var modifiedOpt = getNilOptional()
21
- modifiedOpt.pointee = 777
22
- expectEqual(777, modifiedOpt.pointee)
23
-#endif
+ expectNil(modifiedOpt.pointee)
24
}
25
26
StdOptionalTestSuite.test("std::optional => Swift.Optional") {
0 commit comments