(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp23/
consteval-if7.C
// { dg-do compile { target c++20 } }
// { dg-options "-w" }

void f()
{
  if not consteval
    {
    l:;
      goto l;
    }
  else
    {
    l2:;
      goto l2;
    }
}