☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-var-templ1.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/concepts-var-templ1.C
code
plain
raw
1
// PR c++/98486
2
// { dg-do compile { target c++20 } }
3
4
template<class T, class U> concept C = __is_same(T, U);
5
6
template<C<int>> int v;
7
8
template<> int v<int>;
9
template<> int v<char>; // { dg-error "match" }