LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / init-empty-1.c
blob39a5174ba846ce001627f3d3accbd32f41ba4e8e
1 /* Test diagnostic for empty initializer braces. Test with no special
2 options. */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-std=gnu99" } */
7 struct s { int a; } x = { };
9 struct s *p = &(struct s){ };