am a822795f: am 66d53434: am dd5c92d4: Merge "Regression test for NDK bug 80199."

* commit 'a822795f53ac52294c637f8aa4be65610ba18cc9':
  Regression test for NDK bug 80199.
This commit is contained in:
Elliott Hughes 2015-02-15 00:30:15 +00:00 committed by Android Git Automerger
commit 0b8bed7f18

View File

@ -234,6 +234,11 @@ TEST(wchar, wcsstr) {
ASSERT_EQ(NULL, wcsstr(haystack, bad_needle));
}
TEST(wchar, wcsstr_80199) {
// https://code.google.com/p/android/issues/detail?id=80199
ASSERT_TRUE(wcsstr(L"romrom", L"rom") != NULL);
}
TEST(wchar, mbtowc) {
wchar_t out[8];