Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction54.C
blob: 2e87139b4d804304ce82d638f4928af9c28c55f3 [
file
] [
log
] [
blame
]
// PR c++/82152
// { dg-do compile { target c++17 } }
struct
Base
{};
template
<
typename
T
>
struct
Derived
:
public
Base
{
using
Base
::
Base
;
};
Derived
()
->
Derived
<
void
>;
int
main
()
{
Derived
x
;
}