xref: /llvm-project/compiler-rt/test/fuzzer/noasan-memcmp.test (revision 8a86860207f0d5c794a2b8c0b384001710e5d036)
1UNSUPPORTED: darwin, target={{.*(freebsd|windows).*}}
2
3RUN: %cpp_compiler -fno-sanitize=address %S/MemcmpTest.cpp -o %t-NoAsanMemcmpTest
4RUN: not %run %t-NoAsanMemcmpTest -seed=1 -runs=10000000   2>&1 | FileCheck %s
5
6RUN: %cpp_compiler -fno-sanitize=address -fno-builtin-calloc %S/CustomAllocator.cpp %S/MemcmpTest.cpp -o %t-NoAsanCustomAllocatorMemcmpTest
7RUN: not %run %t-NoAsanCustomAllocatorMemcmpTest -seed=1 -runs=10000000   2>&1 | FileCheck %s
8
9CHECK: BINGO
10