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