aboutsummaryrefslogtreecommitdiff
path: root/compiler-rt/test/fuzzer/noasan-strncmp.test
blob: ba1309cd3fd343154af77569fac3abc9a2a6fc78 (plain)
1
2
3
4
5
6
7
8
9
UNSUPPORTED: darwin, target={{.*(freebsd|windows).*}}, target=aarch64{{.*}}

RUN: %cpp_compiler -fno-sanitize=address %S/StrncmpTest.cpp -o %t-NoAsanStrncmpTest
RUN: not %run %t-NoAsanStrncmpTest -seed=2 -runs=10000000   2>&1 | FileCheck %s

RUN: %cpp_compiler -fno-sanitize=address -fno-builtin-calloc %S/CustomAllocator.cpp %S/StrncmpTest.cpp -o %t-NoAsanCustomAllocatorStrncmpTest
RUN: not %run %t-NoAsanCustomAllocatorStrncmpTest -seed=2 -runs=10000000   2>&1 | FileCheck %s

CHECK: BINGO