1 | #include <stdint.h> |
---|---|
2 | #include <stdio.h> |
3 | int main() { |
4 | union { |
5 | uint8_t buf[8]; |
6 | uint64_t val; |
7 | } a; |
8 | a.val = 0; |
9 | puts (s: "ready to loop"); // break here |
10 | a.val = UINT64_MAX; |
11 | for (int i = 0; i < 5; i++) { |
12 | a.val = i; |
13 | printf(format: "a.val is %lu\n", a.val); |
14 | } |
15 | } |
16 |