☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
auto7a.C
☽
☼
gcc/testsuite/g++.dg/concepts/auto7a.C
code
plain
raw
1
// { dg-do compile { target c++14 } }
2
3
template <class T> struct A { };
4
void f(A<auto> a) { } // { dg-error "auto. in template argument" }
5
int main()
6
{
7
f(A<int>());
8
}