PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist66.C
blob4fc162e10f587c14f9f4d6d5facf177e1d51573d
1 // PR c++/52510
2 // { dg-do compile { target c++11 } }
4 typedef unsigned char uint8_t;
5 typedef unsigned short uint16_t;
6 typedef unsigned int uint32_t;
7 typedef unsigned long long uint64_t;
8 typedef uint64_t upad64_t;
10 typedef struct _pthread_cond {
11  struct {
12   uint8_t __pthread_cond_flag[4];
13   uint16_t __pthread_cond_type;
14   uint16_t __pthread_cond_magic;
15  } __pthread_cond_flags;
16  upad64_t __pthread_cond_data;
17 } pthread_cond_t;
19 class gtm_rwlock
21   pthread_cond_t c_readers;
22  public:
23   gtm_rwlock();
26 gtm_rwlock::gtm_rwlock()
27   : c_readers ({{{0, 0, 0, 0}, 0, 0x4356}, 0})
28 { }