blob: 24f5bf2cdb1e48b9603e2d726cbfb46539e7806a [file] [log] [blame]
struct B {
void g() { }
};
struct A {
void f() {
B &b = b; // { dg-warning "reference 'b' is not yet bound to a value when used within its own initialization" }
b.g();
}
};
int main(void) { }