blob: 26b3d4a2cbbfc19a03d43b35aa06a28319092483 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// { dg-do compile { target c++20 } }
template <typename T> struct A { };
template <typename T> concept int_type = __is_same_as (T, int);
template <int_type T> using intA = A<T>;
template <class T> struct B {
intA<T> a; // { dg-error "" }
};
B<char> b;
|