Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction68.C
blob: a761e70e09c47786bbfaa6e7d6e64af81936d0e8 [
file
] [
log
] [
blame
]
// PR c++/92593
// { dg-do compile { target c++17 } }
template
<
int
I
>
struct
ref_view
{
ref_view
(
T
)
{
};
// { dg-error "incomplete" }
};
ref_view r
{
1
};
// { dg-error "no match|deduction failed" }