Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-alias2.C
blob: b7840305602a0fa126e64e1078bcff27ca60e49a [
file
] [
log
] [
blame
]
// { 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
;