declspec-12.c   [plain text]


/* 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 "warning: useless type qualifier in empty declaration" } */