mirror of
https://github.com/clang-retro/llvm.git
synced 2026-12-03 23:59:10 -08:00
6 lines
243 B
Plaintext
6 lines
243 B
Plaintext
RUN: %cpp_compiler %S/BufferOverflowOnInput.cpp -o %t-BufferOverflowOnInput
|
|
|
|
RUN: not %run %t-BufferOverflowOnInput 2>&1 | FileCheck %s --check-prefix=OOB
|
|
OOB: AddressSanitizer: heap-buffer-overflow
|
|
OOB: is located 0 bytes after 3-byte region
|