Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-inherit-ctor9.C
blob: 7d3201bff9f9537c80031724a0aca55c909d8a70 [
file
] [
log
] [
blame
]
// PR c++/94719
// { dg-do compile { target concepts } }
template
<
typename
T
>
struct
bar
{
template
<
int
N
=
5
>
requires
(
N
==
5
)
bar
()
{
}
};
template
<
typename
T
>
struct
foo
:
bar
<
T
>
{
using
foo
::
bar
::
bar
;
};
void
baz
()
{
foo
<int>
{};
}