blob: d18ff3db0a2f716776fad406190ef1beabb92fb2 [file] [log] [blame]
// PR c++/21089
// { dg-do run }
extern "C" void abort();
static const double a = 1.0;
struct S {
S();
};
static S s;
static const double b = a + 1.0;
S::S() {
if (b < 1.9 || b > 2.1)
abort ();
}
int main () {
}