☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
nontype-auto18.C
☽
☼
gcc/testsuite/g++.dg/cpp1z/nontype-auto18.C
code
plain
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>{});