arrays decay to pointers - also found bug

This commit is contained in:
pommicket 2022-02-02 23:02:31 -05:00
parent e8378ddac0
commit be9a3b4bd5
4 changed files with 50 additions and 10 deletions

View file

@ -46,7 +46,7 @@
/* long b; */
/* } x1[] = {0x1234567890, 1ul<<60|1ul<<3, 77}; */
/* int y1 = 0x12345678; */
typedef int R[sizeof "hi" / sizeof "hi"[0]];
typedef int R[*(int*)3];
/* struct { */
/* int x[2], y; */