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.
1 parent 4ab8be9 commit 21c31efCopy full SHA for 21c31ef
validation-test/stdlib/ArrayTrapsObjC.swift.gyb
@@ -117,16 +117,4 @@ class ViolateInoutSafetyNeedElementTypeCheck {
117
}
118
119
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
-
132
runAllTests()
0 commit comments