aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/concepts-alias2.C
blob: b7840305602a0fa126e64e1078bcff27ca60e49a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do compile { target concepts } }

using Bool = bool;
template <class T>
const Bool b = true;

template <class T>
concept BoolC = b<T>;

template <BoolC T> struct A { };

A<int> a;