3 // { dg-do compile { target c++11 } }
7 constexpr array() :x(0) {}
8 constexpr int const* begin() { return &x; }
12 constexpr auto b = aa.begin();
13 static_assert(b-b == 0, "compiles just fine");
14 static_assert(aa.begin()-aa.begin() == 0, "compiler thinks it's not a constant expression");