We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf96347 + dd78e3b commit a0fb54cCopy full SHA for a0fb54c
test/Interop/Cxx/stdlib/use-std-vector.swift
@@ -97,6 +97,11 @@ StdVectorTestSuite.test("VectorOfString as MutableCollection") {
97
expectEqual(v[0], std.string("xyz"))
98
expectEqual(v[1], std.string("abc"))
99
expectEqual(v[2], std.string("ijk"))
100
+
101
+ v.sort() // Swift function
102
+ expectEqual(v[0], std.string("abc"))
103
+ expectEqual(v[1], std.string("ijk"))
104
+ expectEqual(v[2], std.string("xyz"))
105
}
106
#endif
107
0 commit comments