summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/init1.C
blob: f8d8e8533e433402677366859c5c4821e0a0eb7d (plain)
1
2
3
4
5
6
// PR c++/9623
// Test for trivial use of named initializer extension
// { dg-options "" }

struct S { int x;  int y; };
S s = { x:1, y:2 };