mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-02-06 04:04:17 +00:00
12 lines
256 B
C++
12 lines
256 B
C++
![]() |
// https://en.cppreference.com/w/cpp/feature_test
|
||
|
// Apple bug https://bugs.llvm.org/show_bug.cgi?id=47012.
|
||
|
int main(int argc, char* argv[])
|
||
|
{
|
||
|
#if __cpp_threadsafe_static_init >= 200806L
|
||
|
int x[1];
|
||
|
#else
|
||
|
int x[-1];
|
||
|
#endif
|
||
|
return 0;
|
||
|
}
|