summaryrefslogtreecommitdiff
path: root/TestPrograms/test_cxx11_lambda.cpp
blob: d85b7af98cced6d217a5e5261ef5d858a183583b (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_lambdas >= 200907L
    int x[1];
#else
    int x[-1];
#endif
    return 0;
}