LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / declspec-15.c
blobdc3da61c26060188007a40c94644d6e86690565f
1 /* Test diagnostic for empty declarations in old-style parameter
2 declarations. Test with no special options. */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-std=gnu89" } */
7 void
8 f (a, b)
9 int; /* { dg-warning "empty declaration" } */
10 register; /* { dg-warning "empty declaration" } */