3 /* { dg-options "-O2 -Wunused-variable" } */
6 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
14 (const int*)&(const int[9][2]){
16 { 1, 0 }, { 0, 1 }, { -1, 0 }, { 0, -1 },
17 { 1, 1 }, { -1, 1 }, { -1, -1 }, { 1, -1 },
23 __auto_type xx
= (*({ int N
= 2; struct lbm __x
= D2Q9
; ((const int(*)[9][N
])__x
.DQ
); }));
28 if (2 != ARRAY_SIZE(xx
[1]))
31 if (1 != (*({ int N
= 2; struct lbm __x
= D2Q9
; ((const int(*)[9][N
])__x
.DQ
); }))[1][0])
34 if (2 != ARRAY_SIZE(*({ int N
= 2; struct lbm __x
= D2Q9
; ((const int(*)[9][N
])__x
.DQ
); })[1]))