summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/stmtexpr2.C
blob: cbe6aabfe022cec8df9435a02a421dfaa2f289cf (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
// { dg-options "-O2" }
// Origin: Jakub Jelinek <jakub@redhat.com>

void bar(int);
void foo(int x)
{
  bar(({ int y; y = x; }));
}