blob: 63eb92805f6e1b776ec87b6e67c4c4c14dc40cda [file] [log] [blame]
float foo();
struct A
{
static float x; // { dg-message "previous declaration" }
};
double A::x = foo(); // { dg-error "conflicting declaration" }
void bar()
{
A::x = 0;
}