aboutsummaryrefslogtreecommitdiff
path: root/test/asan/TestCases/large_func_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/asan/TestCases/large_func_test.cc')
-rw-r--r--test/asan/TestCases/large_func_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/large_func_test.cc b/test/asan/TestCases/large_func_test.cc
index 6b592f8c4397..8d9afaeb4a75 100644
--- a/test/asan/TestCases/large_func_test.cc
+++ b/test/asan/TestCases/large_func_test.cc
@@ -49,5 +49,5 @@ int main(int argc, char **argv) {
// CHECK-Linux: {{ #0 0x.* in operator new.*}}
// CHECK-Darwin: {{ #0 0x.* in .*_Zna.*}}
// CHECK: {{ #1 0x.* in main .*large_func_test.cc:}}[[@LINE-7]]
- delete x;
+ delete[] x;
}