blob: 34ca9fa997455bf9403d45f16b8d30d223e8e951 [file] [log] [blame]
// { dg-do compile { target c++11 } }
// { dg-options "" }
#define SA(X) static_assert((X),#X)
template <class T>
constexpr T f (T t)
{
return ({ t+1; });
}
SA(f(42) == 43);