Sign in
gnu
/
gcc
/
5e9c4ed903c39f82f28362d9411d4dbc491264ec
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-pr85706.C
blob: e0718d1d0cf8228c7928ab43c8baf7bb7133ae52 [
file
] [
log
] [
blame
]
// PR c++/85706
// { dg-do compile { target c++17 } }
// { dg-additional-options "-fconcepts" }
template
<
class
T
>
struct
S
{
S
(
T
);
};
template
<
class
=
void
>
auto
f
()
->
decltype
(
S
(
42
));
// error