LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / 20000926-1.c
blobe70596f08f3d7b4b1960c03ee7d041af8bccf3b8
1 /* Copyright (C) 2000 Free Software Foundation.
2 by William Cohen <wcohen@redhat.com> */
4 /* { dg-do compile } */
5 /* { dg-options "" } */
6 #include <limits.h>
8 struct PDATA
10 unsigned int Dummy:(sizeof(int)*CHAR_BIT);
11 const char* PName;
14 typedef struct PDATA P_DATA;
16 struct PLAYBOOK {
17 const char * BookName;
18 P_DATA Play[0];
21 struct PLAYBOOK playbook =
23 "BookName",
25 { 1, "PName0" }, /* { dg-warning "(excess elements)|(near initialization)" } */