xref: /llvm-project/compiler-rt/test/fuzzer/buffer-overflow-on-input.test (revision a51d19636cd6e98a9e1843158d1419331b5c1342)
1RUN: %cpp_compiler %S/BufferOverflowOnInput.cpp -o %t-BufferOverflowOnInput
2
3RUN: not %run %t-BufferOverflowOnInput 2>&1 | FileCheck %s --check-prefix=OOB
4OOB: AddressSanitizer: heap-buffer-overflow
5OOB: is located 0 bytes after 3-byte region
6