Merge with main truk.
[official-gcc.git] / gcc / testsuite / g++.dg / init / ctor10.C
blob91cc25012090da1deae1dca79189f58216359764
1 // PR c++/48606
2 // { dg-do compile }
3 // { dg-options "-fkeep-inline-functions" }
5 struct S
7   int &ref;
8   S() : ref() {};       // { dg-error "value-initialization of" }
9 };