2 // { dg-do compile { target c++11 } }
4 template <typename T> class F : T {};
5 template <typename> using void_t = void;
6 template <class, class = void> struct G;
7 template <typename T> struct G<T, void_t<decltype(&T::nlog_custom)>> {};
11 G<F<D>> g; // { dg-error "incomplete" }