aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/ext/stmtexpr7.C
blob: 87ca39b566ccdea7a5869963a1e60dcdc22a29aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR c++/24686
// { dg-options "" }

struct A
{
  ~A();
};
bool h(int, const A&);
int f();
int i;
void g()
{
  i && (A(), ({ static int l = f(); l; }));
}