Skip to content

Commit 21c31ef

Browse files
Dave AbrahamsAlexis Beingessner
authored andcommitted
[stdlib] Drop test
This failure mode can no longer be reliably detected.
1 parent 4ab8be9 commit 21c31ef

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

validation-test/stdlib/ArrayTrapsObjC.swift.gyb

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,4 @@ class ViolateInoutSafetyNeedElementTypeCheck {
117117
}
118118
}
119119

120-
ArraySemanticOptzns.test("inout_rule_violated_needsElementTypeCheck")
121-
.skip(.custom(
122-
{ _isFastAssertConfiguration() },
123-
reason: "this trap is not guaranteed to happen in -Ounchecked"))
124-
.crashOutputMatches(_isDebugAssertConfiguration() ?
125-
"fatal error: inout rules were violated: the array was overwritten" : "")
126-
.code {
127-
let v = ViolateInoutSafetyNeedElementTypeCheck()
128-
expectCrashLater()
129-
v.inoutViolation()
130-
}
131-
132120
runAllTests()

0 commit comments

Comments
 (0)