Home | History | Annotate | Download | only in Inputs
      1 class A_base
      2 {
      3 public:
      4   int x;
      5   A_base() : x(0) {
      6   }
      7   A_base(int _x) : x(static_cast<int>(_x)) {
      8   }
      9 };
     10 
     11 class A : public A_base
     12 {
     13 public:
     14   int y;
     15   struct { int z; };
     16   int array[2];
     17   A(int _x) : A_base(_x), y(0), z(1), array{{2},{3}} {
     18   }
     19 };
     20