summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/vla_loop_overfow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/asan/TestCases/vla_loop_overfow.cpp')
-rw-r--r--test/asan/TestCases/vla_loop_overfow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/vla_loop_overfow.cpp b/test/asan/TestCases/vla_loop_overfow.cpp
index b6a5864c0..370e0dc72 100644
--- a/test/asan/TestCases/vla_loop_overfow.cpp
+++ b/test/asan/TestCases/vla_loop_overfow.cpp
@@ -8,7 +8,7 @@
void foo(int index, int len) {
for (int i = 1; i < len; ++i) {
- char array[len]; // NOLINT
+ char array[len];
assert(!(reinterpret_cast<uintptr_t>(array) & 31L));
array[index + i] = 0;
// CHECK: ERROR: AddressSanitizer: dynamic-stack-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]