1 //===-- Integration Test for Scudo ----------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 static const size_t ALLOC_SIZE
= 128;
14 void *P
= malloc(ALLOC_SIZE
);
21 P
= calloc(4, ALLOC_SIZE
);
26 P
= realloc(P
, ALLOC_SIZE
* 8);
33 P
= aligned_alloc(64, ALLOC_SIZE
);