summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/struct-incompl-1.c
blob: c32b2d53849d09e83bb90c75ffd64828e0558555 (plain)
1
2
3
4
5
6
7
/* PR c/26818 */
/* { dg-do compile } */

struct __attribute__ ((packed)) A
{
  struct B b; /* { dg-error "incomplete" } */
};