blob: 80b48ba3a3d365dc5b500e4660e8f0b5cebe845f (
plain)
1
2
3
4
5
6
7
8
9
|
// PR c++/98486
// { dg-do compile { target c++20 } }
template<class T, class U> concept C = __is_same(T, U);
template<C<int>> int v;
template<> int v<int>;
template<> int v<char>; // { dg-error "match" }
|