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 0f0cc93 commit f28f492Copy full SHA for f28f492
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