summaryrefslogtreecommitdiff
path: root/TestPrograms/test_cxx11_assert.cpp
blob: 7d37315de9196c1de7ca54711734e2942454f7c7 (plain)
1
2
3
4
5
6
7
8
9
10
// 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;
}