Skip to content

Commit 5e4e83e

Browse files
committed
Revert "Revert "[cxx-interop] Partially disable a test on Linux""
This reverts commit 4cf34ab. Unfortunately still failing on Ubuntu 18.04 and Amazon Linux 2. rdar://118401796
1 parent 4557ed6 commit 5e4e83e

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)