The C code long long foo = 0ll;, compiled with -std=c2y, gives:
<source>:1:17: warning: octal literals without a '0o' prefix are deprecated [-Wdeprecated-octal-literals]
1 | long long foo = 0ll;
| ^
but should not. (same with 0u, 0l, 0ul, 0ull)
https://godbolt.org/z/YKoWs9brM
(from a discussion on Discord)
The C code
long long foo = 0ll;, compiled with-std=c2y, gives:but should not. (same with
0u,0l,0ul,0ull)https://godbolt.org/z/YKoWs9brM
(from a discussion on Discord)