1// { dg-do compile { target c++11 } }2f(int i)3constexprintf(inti) { returni; }
4#defineSA(X) static_assert (X, #X)
5/* We used to assert that the following *is* noexcept, but this has changed
6 in c++/87603. */7SA(!noexcept(f(42)));
8intj;
9SA(!noexcept(f(j)));
10