1 // RUN: %clangxx_asan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s
8 int main(int argc
, char *argv
[]) {
10 // *& to suppress bzero-to-memset optimization.
11 (*&bzero
)(buf
, sizeof(buf
) + 1);
12 // CHECK: AddressSanitizer: stack-buffer-overflow
13 // CHECK-NEXT: WRITE of size 101 at