Daily bump.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp2a / concepts-alias4.C
blob26b3d4a2cbbfc19a03d43b35aa06a28319092483
1 // { dg-do compile { target c++20 } }
3 template <typename T> struct A { };
4 template <typename T> concept int_type = __is_same_as (T, int);
5 template <int_type T> using intA = A<T>;
7 template <class T> struct B {
8   intA<T> a;                    // { dg-error "" }
9 };
10 B<char> b;