arrays decay to pointers - also found bug
This commit is contained in:
parent
e8378ddac0
commit
be9a3b4bd5
4 changed files with 50 additions and 10 deletions
|
@ -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; */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue