(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
constexpr-cache1.C
// PR c++/51433
// { dg-do compile { target c++11 } }

constexpr int f();
constexpr int g() { return f(); }
extern const int n = g();	// dynamic initialization
constexpr int f() { return 42; }
extern const int m = g();
static_assert(m == 42, "m == 42");