Sign in
cobalt
/
cobalt
/
ac9ac065c5083565917b15e7a672a79599f2f00b
/
.
/
src
/
third_party
/
llvm-project
/
compiler-rt
/
test
/
asan
/
TestCases
/
Windows
/
stack_array_sanity.cc
blob: 1aef1a923d24bc5ef7bfc111f32018254c40b60a [
file
] [
log
] [
blame
]
// RUN: %clang_cl_asan -O0 %s -Fe%t
// RUN: %run %t | FileCheck %s
#include
<stdio.h>
int
main
()
{
int
subscript
=
1
;
char
buffer
[
42
];
buffer
[
subscript
]
=
42
;
printf
(
"OK\n"
);
// CHECK: OK
}