Skip to content

Commit

Permalink
Merge pull request swiftlang#69862 from apple/egorzhdan/re-disable-test
Browse files Browse the repository at this point in the history
Revert "Revert "[cxx-interop] Partially disable a test on Linux""
  • Loading branch information
egorzhdan authored Nov 15, 2023
2 parents b944ab8 + 5e4e83e commit dc43a44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/Interop/Cxx/stdlib/use-std-optional.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ StdOptionalTestSuite.test("pointee") {
let pointee = nonNilOpt.pointee
expectEqual(123, pointee)

#if !os(Linux) // crashes on Ubuntu 18.04 (rdar://113414160)
var modifiedOpt = getNilOptional()
modifiedOpt.pointee = 777
expectEqual(777, modifiedOpt.pointee)
#endif
}

StdOptionalTestSuite.test("std::optional => Swift.Optional") {
Expand Down

0 comments on commit dc43a44

Please sign in to comment.