Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/timon/dev/zig/test/main3.zig:27:22: error: shift amount has to be an integer type, but found '*const comptime_int'
- const v = 1 << (&x);
- ^
- /home/timon/dev/zig/test/main3.zig:27:17: note: referenced here
- const v = 1 << (&x);
- --------------------------------or this------------------------------------------------
- /home/timon/dev/zig/test/main3.zig:27:17: error: shift amount has to be an integer type, but found '*const comptime_int'
- const v = 1 << (&x);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement