I started similarly rewriting the strto* tests in tests/msan_test.cc, but it turns out that the tests in this file are not run as part of check-msan. What's up with that? Also, who uses the __-prefixed versions? Should we add them for the newly added functions as well? http://llvm-reviews.chandlerc.com/D2629