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