Crow/unittest.cpp

11 lines
235 B
C++
Raw Normal View History

2014-04-14 15:31:51 +00:00
#include <iostream>
using namespace std;
2014-04-02 16:38:08 +00:00
int main()
{
2014-04-14 15:31:51 +00:00
//cout << strtol("+123999999999999999999", NULL, 10) <<endl;
//cout <<errno <<endl;
cout << strtol("+9223372036854775807", NULL, 10) <<endl;
cout <<errno <<endl;
2014-04-02 16:38:08 +00:00
}