summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/stmtexpr1.C
blob: 4455398bca608f09c58f55df35a999a927476324 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do compile }
// { dg-options "" }

int
main (int argc, char **argv)
{
  int a = ({ 1 ? 0 : 1; });
  return ({ argc > 1 ? 1 : 0; });
}