rt_gccstream/gcc/testsuite/gcc.dg/declspec-12.c

7 lines
265 B
C

/* Test type qualifier in empty declaration: OK but useless. */
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
/* { dg-do compile } */
/* { dg-options "-pedantic-errors" } */
const struct foo; /* { dg-warning "useless type qualifier in empty declaration" } */