Skip to content

Commit dc43a44

Browse files
authored
Merge pull request #69862 from apple/egorzhdan/re-disable-test
Revert "Revert "[cxx-interop] Partially disable a test on Linux""
2 parents b944ab8 + 5e4e83e commit dc43a44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/Interop/Cxx/stdlib/use-std-optional.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ StdOptionalTestSuite.test("pointee") {
1313
let pointee = nonNilOpt.pointee
1414
expectEqual(123, pointee)
1515

16+
#if !os(Linux) // crashes on Ubuntu 18.04 (rdar://113414160)
1617
var modifiedOpt = getNilOptional()
1718
modifiedOpt.pointee = 777
1819
expectEqual(777, modifiedOpt.pointee)
20+
#endif
1921
}
2022

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

0 commit comments

Comments
 (0)