summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/stmtexpr9.C
blob: 4963e10e4cd7d9356d1b32cec05a5adb58a77bbc (plain)
1
2
3
4
5
6
7
8
// PR c++/28899
// { dg-options "" }

void f()
{
  unsigned l, l1;
  l1 = l = ({ unsigned __v; __v; });
}