summaryrefslogtreecommitdiff
path: root/tests/run/cpp_nonstdint.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/cpp_nonstdint.h')
-rw-r--r--tests/run/cpp_nonstdint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/cpp_nonstdint.h b/tests/run/cpp_nonstdint.h
index 63c977972..0805576b5 100644
--- a/tests/run/cpp_nonstdint.h
+++ b/tests/run/cpp_nonstdint.h
@@ -53,7 +53,7 @@ class Integral {
resize_signed_int(bytes, N, extended, len);
}
bool res = memcmp(extended, other, len);
- delete extended;
+ delete [] extended;
return res;
}
bool operator!=(const long long val) const