Advertisement
Guest User

Untitled

a guest
Aug 28th, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. /home/timon/dev/zig/test/main3.zig:27:22: error: shift amount has to be an integer type, but found '*const comptime_int'
  2. const v = 1 << (&x);
  3. ^
  4. /home/timon/dev/zig/test/main3.zig:27:17: note: referenced here
  5. const v = 1 << (&x);
  6. --------------------------------or this------------------------------------------------
  7.  
  8. /home/timon/dev/zig/test/main3.zig:27:17: error: shift amount has to be an integer type, but found '*const comptime_int'
  9. const v = 1 << (&x);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement