blob: 6e76ea8fa0b5519f7f12f6cf45e0734ab005886d [file] [log] [blame]
// { dg-options -std=c++0x }
constexpr int f(int i) { return i; }
#define SA(X) static_assert (X, #X)
SA(noexcept(f(42)));
int j;
SA(!noexcept(f(j)));