Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction60.C
blob: dbc5732a2a8532e3426c6eba25d07138821cce20 [
file
] [
log
] [
blame
]
// PR c++/81486
// { dg-do compile { target c++17 } }
template
<
class
T
>
struct
C
{
C
(
T
);
};
template
<>
struct
C
<void>
{
};
C
()
->
C
<void>
;
int
main
()
{
auto
a
=
C
{};
auto
b
=
C
();
}