Skip to content

Commit b6c6e86

Browse files
authored
Merge pull request swiftlang#74932 from swiftlang/egorzhdan/std-function-test-reenable
[cxx-interop] Conditionally re-enable a test for `std::function`
2 parents 0441436 + af311ff commit b6c6e86

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

+5-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@
77

88
// REQUIRES: executable_test
99

10-
// rdar://130527427
11-
// REQUIRES: rdar130527427
10+
// libstdc++11 declares a templated constructor of std::function with an rvalue-reference parameter,
11+
// which aren't yet supported in Swift. Therefore initializing a std::function from Swift closures
12+
// will not work on the platforms that are shipped with this version of libstdc++ (rdar://125816354).
13+
// XFAIL: LinuxDistribution=ubuntu-22.04
14+
// XFAIL: LinuxDistribution=rhel-9.4
1215

1316
import StdlibUnittest
1417
import StdFunction

0 commit comments

Comments
 (0)