summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/complit5.C
blob: c406c998046f1e6e29ee6a0b7cba8179c9331b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/25417
// { dg-options "" }

struct object {
  int a;
  int b;
};

void f (int c, int d)
{
  object o = ((object){ a : c, b : d});
}