mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-31 09:15:11 +00:00
12 lines
218 B
C++
12 lines
218 B
C++
// Real C++11 libraries provide <forward_list>
|
|
#include <forward_list>
|
|
int main(int argc, char* argv[])
|
|
{
|
|
#if __cplusplus >= 201103L
|
|
std::forward_list<int> x;
|
|
#else
|
|
int x[-1];
|
|
#endif
|
|
return 0;
|
|
}
|