// PR c++/85706 // { dg-do compile { target c++17 } } // { dg-additional-options "-fconcepts" } template struct S { S(T); }; template auto f() -> decltype(S(42)); // error