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

struct X {
  const X* x = this;
};
constexpr const X& x = X{};
// TODO: The assert should pass once we implement DR2126 (c++/101588).
//static_assert(x.x == &x);