summaryrefslogtreecommitdiff
path: root/tests/test_malloc.c
diff options
context:
space:
mode:
authorjvoisin2023-07-09 19:14:44 +0200
committerjvoisin2023-07-09 19:14:44 +0200
commite7c10a1b27be94a09bb03bf31b4b66233e3d1bdc (patch)
tree74eaf63f04fa673d81fe900f38dbae1b1241fefe /tests/test_malloc.c
parentb333df29dcfabcd4ad0cf630fdb648eaa38ec1c7 (diff)
Add some malloc annotations
Diffstat (limited to 'tests/test_malloc.c')
-rw-r--r--tests/test_malloc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_malloc.c b/tests/test_malloc.c
new file mode 100644
index 0000000..360ee82
--- /dev/null
+++ b/tests/test_malloc.c
@@ -0,0 +1,7 @@
1#include "common.h"
2
3#include <stdlib.h>
4
5int main(int argc, char** argv) {
6 free(malloc(1));
7}