AVR: Support new built-in function __builtin_avr_mask1.
[official-gcc.git] / gcc / testsuite / g++.dg / opt / pr69164.C
blobe9a1a4f6189ffa196b2cf7d9b03c30c0f3e32b20
1 // PR c++/69164
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-O2" }
5 struct A {
6   struct B {
7     B () {}
8     bool : 1;
9   };
10   B foo () { B r; return r; }
13 struct C {
14   struct D {
15     D (C *x) : d (x->c.foo ()) {}
16     A::B d;
17   };
18   A c;
21 struct F : C {
22   D f = this;
23   F (int, int) {}
26 void
27 bar (int a, int b)
29   F (b, a);