summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/stmtexpr13.C
blob: 978da1584e53ff61836ea8ca1324b124ce6fc358 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/35747
// { dg-do compile }
// { dg-options "" }

void
foo ()
{
  ({ i; ({ i; }); 0; });	// { dg-error "was not declared" }
}