Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/nontype-auto18.C

raw
1 // { dg-do compile { target c++11 } }
2
3 template <int> struct K { };
4
5 struct S { using type = int; };
6 template <class T = S, typename T::type M> int g(K<M>);
7 int a = g(K<42>{});