diff options
author | Michi Henning <michi@zeroc.com> | 2002-07-08 06:48:37 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2002-07-08 06:48:37 +0000 |
commit | 36c02756246482fa862ee6547ef223d1ab4e4d2a (patch) | |
tree | 559cead4f19cdf0cf27776a08e8b845198410892 /cpp/test/IceUtil/inputUtil/Client.cpp | |
parent | Fixed Windows side of things for stringToInt64(). (diff) | |
download | ice-36c02756246482fa862ee6547ef223d1ab4e4d2a.tar.bz2 ice-36c02756246482fa862ee6547ef223d1ab4e4d2a.tar.xz ice-36c02756246482fa862ee6547ef223d1ab4e4d2a.zip |
Final tidy-up of stringToInt64().
Diffstat (limited to 'cpp/test/IceUtil/inputUtil/Client.cpp')
-rw-r--r-- | cpp/test/IceUtil/inputUtil/Client.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/test/IceUtil/inputUtil/Client.cpp b/cpp/test/IceUtil/inputUtil/Client.cpp index 28bc6534d15..40a5a09a5a9 100644 --- a/cpp/test/IceUtil/inputUtil/Client.cpp +++ b/cpp/test/IceUtil/inputUtil/Client.cpp @@ -94,6 +94,9 @@ main(int, char**) b = stringToInt64("-9223372036854775809Q", result, pos); test(!b && result == INT64MIN && pos == 20); + b = stringToInt64("-9223372036854775809999Q", result, pos); + test(!b && result == INT64MIN && pos == 23); + cout << "ok" << endl; return EXIT_SUCCESS; |