blob: b8571b9f1eb2dfb96d91c16820eb83c202f9349a [file] [log] [blame]
// PR c++/91706
// { dg-do compile { target c++11 } }
// { dg-additional-options -g }
template <bool> struct A;
struct B { static constexpr bool g = false; };
struct C {
template <typename> static B c ();
};
template <class T> struct D : C {
using c = decltype (c<T>());
using E = A<c::g>;
};
D<int> g;