☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-alias2.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/concepts-alias2.C
code
plain
raw
1
// { dg-do compile { target concepts } }
2
3
using Bool = bool;
4
template <class T>
5
const Bool b = true;
6
7
template <class T>
8
concept BoolC = b<T>;
9
10
template <BoolC T> struct A { };
11
12
A<int> a;