Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-memtmpl5.C
blob: 3c83bb884859f7122e1631838ec1fdf131024664 [
file
] [
log
] [
blame
]
// PR c++/101247
// { dg-do compile { target concepts } }
template
<
class
T
,
class
U
>
struct
A
{
template
<class>
static
constexpr
bool
d
=
true
;
static
void
g
()
requires d
<
U
>;
};
int
main
()
{
A
<
int
,
char
>::
g
();
}