Skip to content

Commit b701124

Browse files
committed
[interop] CxxVectorSum benchmark: workaround swiftlang#61472
1 parent 9601081 commit b701124

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

benchmark/cxx-source/CxxVectorSum.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@
1414
// as compared to the C++ implementation of such sum.
1515

1616
import TestsUtils
17+
import std
18+
19+
// FIXME: remove workaround for: https://github.com/apple/swift/issues/61472
20+
public func __workaround_std_import() {
21+
let s = std.string()
22+
blackHole(s.size())
23+
}
24+
1725
import CxxStdlibPerformance
1826
import Cxx
1927

0 commit comments

Comments
 (0)