mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
Fix compile-error test case for large integer type
This commit is contained in:
parent
6f90d2c209
commit
a3f42a5fe1
@ -441,7 +441,7 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
|
||||
\\ var ptr: [*c]u8 = x;
|
||||
\\}
|
||||
,
|
||||
"tmp.zig:2:33: error: integer value 71615590737044764481 cannot be implicitly casted to type 'usize'",
|
||||
"tmp.zig:2:33: error: integer value 18446744073709551617 cannot be implicitly casted to type 'usize'",
|
||||
"tmp.zig:6:23: error: integer type 'u65' too big for implicit @intToPtr to type '[*c]u8'",
|
||||
);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user