2 // We're now accepting this in spite of the virtual base class. This is OK
3 // according to [dcl.constexpr] 3: "Except for instantiated constexpr functions
4 // non-templated constexpr functions shall be constexpr-suitable".
5 // { dg-do compile { target c++11 } }
8 class derived : virtual public base {
10 template<typename Arg>
11 constexpr derived(Arg) {}