2018-06-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / declspec-12.c
blob66c153740b8f179ab50de0c741cc1327c0f37e7b
1 /* Test type qualifier in empty declaration: OK but useless. */
2 /* Origin: Joseph Myers <jsm@polyomino.org.uk> */
3 /* { dg-do compile } */
4 /* { dg-options "-pedantic-errors" } */
6 const struct foo; /* { dg-warning "useless type qualifier in empty declaration" } */