/* { dg-do compile } */#include<limits.h>#if defined(__LP64__) || defined(_WIN64)#define DIM (UINT_MAX>>1)+1#else#define DIM 65536#endifintsub(int*a){returna[0];}intmain(void){inta[DIM][DIM];/* { dg-error "size of array 'a' is too large" } */returnsub(&a[0][0]);}