// P2242R3 // { dg-do compile { target c++14 } } constexpr int foo () { goto lab; // { dg-error "'goto' in 'constexpr' function only available with" "" { target c++20_down } } lab: return 1; }