blob: 4a05a94b40902eaf7664d7835cedf180cd3fd781 (
plain)
1
2
3
4
5
6
7
|
export fn entry() void {
_ = @as(*anyopaque, @ptrFromInt(~@as(usize, @import("std").math.maxInt(usize)) - 1));
}
// error
//
// :2:84: error: overflow of integer type 'usize' with value '-1'
|