blob: 936c841ce31e9217c051821e77e12bdb0ac57147 [file] [log] [blame]
// { dg-do compile { target c++11 } }
template <int> struct K { };
struct S { using type = int; };
template <class T = S, typename T::type M> int g(K<M>);
int a = g(K<42>{});