(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp23/
constexpr-nonlit3.C
// 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;
}