ext-cryptopp/TestPrograms/test_cxx11_assert.cpp

11 lines
188 B
C++

// https://en.cppreference.com/w/cpp/feature_test
int main(int argc, char* argv[])
{
#if __cpp_static_assert >= 200410L
int x[1];
#else
int x[-1];
#endif
return 0;
}