summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr63549.c
blob: bd0b70672679be6d7cce6f6fee3654e01336f6ac (plain)
1
2
3
4
5
6
7
/* PR c/63549 */
/* { dg-do compile } */
/* { dg-options "" } */

enum E e;  /* { dg-error "storage size of 'e' isn't known" } */
int a[10];
int i = a[e]; /* { dg-error "has an incomplete type" } */