You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
188 B
11 lines
188 B
4 years ago
|
// 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;
|
||
|
}
|