Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/concepts-var-templ1.C

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" }