Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction88.C
blob: be38fed2901d891f8dc8297d37308c3d678370e1 [
file
] [
log
] [
blame
]
// PR c++/86439
// { dg-do compile { target c++17 } }
struct
NC
{
NC
()
=
default
;
NC
(
NC
const
&)
=
delete
;
NC
&
operator
=(
NC
const
&)
=
delete
;
};
template
<int>
struct
C
{
C
(
NC
const
&);
};
C
(
NC
)
->
C
<
0
>;
NC nc
;
C c
(
nc
);