blob: 0c4bd3a2056c5e1a88859fd4193fca4d9e4b6332 [file] [log] [blame]
// PR c++/49132
struct A {
int& m;
};
A a1 = {}; // { dg-error "uninitialized reference" }
struct B {
A a;
};
B b1 = {}; // { dg-error "uninitialized reference" }