aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp23/consteval-if7.C
blob: ab9da084015531e9c5798cd2bd3695b52e5a324f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do compile { target c++20 } }
// { dg-options "-w" }

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