blob: 9541bc0781d501b4c1f310b8635673867441e36d [file] [log] [blame]
// { dg-do compile { target c++11 } }
constexpr int f(int i) { return i; }
#define SA(X) static_assert (X, #X)
SA(noexcept(f(42)));
int j;
SA(!noexcept(f(j)));