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 to the right of 3-byte region
6