forked from OSchip/llvm-project
10 lines
487 B
Plaintext
10 lines
487 B
Plaintext
|
UNSUPPORTED: darwin, freebsd, windows
|
||
|
|
||
|
RUN: %cpp_compiler -fno-sanitize=address -fno-builtin-strcmp %S/StrcmpTest.cpp -o %t-NoAsanStrcmpTest
|
||
|
RUN: not %run %t-NoAsanStrcmpTest -seed=1 -runs=2000000 2>&1 | FileCheck %s
|
||
|
|
||
|
RUN: %cpp_compiler -fno-sanitize=address -fno-builtin-calloc -fno-builtin-strcmp %S/CustomAllocator.cpp %S/StrcmpTest.cpp -o %t-NoAsanCustomAllocatorStrcmpTest
|
||
|
RUN: not %run %t-NoAsanCustomAllocatorStrcmpTest -seed=1 -runs=2000000 2>&1 | FileCheck %s
|
||
|
|
||
|
CHECK: BINGO
|