1RUN: %cpp_compiler %S/StrncmpOOBTest.cpp -o %t-StrncmpOOBTest
2
3RUN: %env_asan_opts=strict_string_checks=1 not %run %t-StrncmpOOBTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=STRNCMP
4STRNCMP: AddressSanitizer: heap-buffer-overflow
5STRNCMP-NOT: __sanitizer_weak_hook_strncmp
6STRNCMP: in LLVMFuzzerTestOneInput
7