summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/large-size-array-2.c
blob: a1da14b1f727ec7b61ab17520eb607d94e990a4b (plain)
1
2
3
4
5
6
7
/* PR c/25309 */
/* { dg-do compile } */
/* { dg-options "-O2" } */
static char * name[] = {
    [0x80000000]  = "bar"
  };
/* { dg-error "too large" "" { target { { ! lp64 } || x86_64-*-mingw* } }  6 } */