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 155b2fc + 04d9473 commit 4aaee48Copy full SHA for 4aaee48
test/stdlib/UnsafeRawPointer.swift
@@ -238,7 +238,7 @@ UnsafeMutableRawPointerExtraTestSuite.test("absurd.allocation.misaligned") {
238
239
UnsafeMutableRawPointerExtraTestSuite.test("absurd.allocation.gargantuan") {
240
expectCrashLater()
241
- let mustFail = UnsafeMutableRawPointer.allocate(byteCount: 400000000000000000,
+ let mustFail = UnsafeMutableRawPointer.allocate(byteCount: Int.max,
242
alignment: 0)
243
expectUnreachable()
244
}
0 commit comments