1 // PR c++/51433 2 // { dg-options -std=c++0x } 3 4 constexpr int f(); g()5 constexpr int g() { return f(); } 6 extern const int n = g(); // dynamic initialization f()7 constexpr int f() { return 42; } 8 extern const int m = g(); 9 static_assert(m == 42, "m == 42"); 10