First Commit
This commit is contained in:
11
externals/cryptopp/TestPrograms/test_cxx11.cpp
vendored
Normal file
11
externals/cryptopp/TestPrograms/test_cxx11.cpp
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
// 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;
|
||||
}
|
||||
Reference in New Issue
Block a user