☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
nontype-auto14.C
☽
☼
gcc/testsuite/g++.dg/cpp1z/nontype-auto14.C
code
plain
raw
1
// PR c++/82231
2
// { dg-do compile { target c++17 } }
3
4
template<int>
5
struct x {};
6
7
template <auto I, decltype(I) X>
8
void f(x<X>) { }
9
10
int
11
main()
12
{
13
f<0>(x<1>{});
14
}