File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -38,17 +38,19 @@ func fill(vector v: inout Vector) {
38
38
v. push_back ( & _3)
39
39
}
40
40
41
- StdVectorTestSuite . test ( " for loop " ) {
42
- var v = Vector ( )
43
- fill ( vector: & v)
44
-
45
- var count : CInt = 1
46
- for e in v {
47
- expectEqual ( e, count)
48
- count += 1
49
- }
50
- expectEqual ( count, 4 )
51
- }
41
+ // TODO: in some configurations the stdlib emits a "initializeWithCopy" where the arguments
42
+ // have incorrect indirection: rdar://87728422 and rdar://87805795
43
+ // StdVectorTestSuite.test("for loop") {
44
+ // var v = Vector()
45
+ // fill(vector: &v)
46
+ //
47
+ // var count: CInt = 1
48
+ // for e in v {
49
+ // expectEqual(e, count)
50
+ // count += 1
51
+ // }
52
+ // expectEqual(count, 4)
53
+ // }
52
54
53
55
StdVectorTestSuite . test ( " map " ) {
54
56
var v = Vector ( )
You can’t perform that action at this time.
0 commit comments