blob: 02bb5700f3b6e1b473a0ff41b0209af1a8ab4c6e [file] [log] [blame]
// PR c++/38427
// { dg-do compile }
struct S
{
int &ref;
S() : ref() {}; // { dg-error "value-initialization of" }
};