Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / fuzzer / strncmp-oob.test
blob3d1f19789d35c0dda4b6f002990ca90f23bb6db9
1 RUN: %cpp_compiler %S/StrncmpOOBTest.cpp -o %t-StrncmpOOBTest
3 RUN: %env_asan_opts=strict_string_checks=1 not %run %t-StrncmpOOBTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=STRNCMP
4 STRNCMP: AddressSanitizer: heap-buffer-overflow
5 STRNCMP-NOT: __sanitizer_weak_hook_strncmp
6 STRNCMP: in LLVMFuzzerTestOneInput