summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/large-size-array-2.c
blob: bff2f8250fb3b5caa0f6f690329ab68e5a886d65 (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 } && { ! llp64 } } }  6 } */