summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/sizeof-1.c
blob: 9541a4c273ad5de0b701d1aa01dd95efa06bb5ca (plain)
1
2
3
4
/* PR c/27718 */
/* { dg-do compile } */

int i = sizeof(struct A[]);  /* { dg-error "incomplete" } */