aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/stmtexpr17.C
blob: c1640e4fd2589454995e0c117536012c60804103 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/64701
// { dg-options "" }

enum { A };
void
foo ()
{
  int x = ({ do {} while (0); A; });
}