1 // { dg-do compile { target c++11 } }
2 // We used to treat a call to a constexpr function as noexcept if
3 // the call was a constant expression. We no longer do since
6 #define SA(X) static_assert(X,#X)
8 constexpr const int* f(const int *p) { return p; }
13 SA(!noexcept(*f(&i)));