diff options
| -rw-r--r-- | compiler-rt/lib/asan/tests/asan_str_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/tests/asan_str_test.cc b/compiler-rt/lib/asan/tests/asan_str_test.cc index 7872407005c..1cd2a08b902 100644 --- a/compiler-rt/lib/asan/tests/asan_str_test.cc +++ b/compiler-rt/lib/asan/tests/asan_str_test.cc @@ -221,7 +221,8 @@ UNUSED static void RunStrChrTest(PointerToStrChr2 StrChr) { TEST(AddressSanitizer, StrChrAndIndexOOBTest) { RunStrChrTest(&strchr); -#if !defined(_WIN32) // no index() on Windows. +// No index() on Windows and on Android L. +#if !defined(_WIN32) && !defined(__ANDROID__) RunStrChrTest(&index); #endif } |

