Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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