summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/cond2.C
blob: 2dbe42b34f312a734ca2505cc6f61aa29a42649c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR c++/20905

struct name {};

int 
f ();

void 
g ()
{
  if (int name = f ())
    {
    }
}