Fortran: Fix failing character pointer fcn assignment [PR105054]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-virtual4.C
blobb938d6535c781995c43b87452b2de16d44558051
1 // PR c++/56291
2 // { dg-do compile { target c++11 } }
4 class Base
6 public:
7  constexpr Base() : v(1) {};
8  int v;
9 };
11 class Derived : public Base
13 public:
14  constexpr Derived() : Base() {};
15  virtual void function();
18 Derived d;