diff options
| author | jvoisin | 2023-07-09 19:14:44 +0200 |
|---|---|---|
| committer | jvoisin | 2023-07-09 19:14:44 +0200 |
| commit | e7c10a1b27be94a09bb03bf31b4b66233e3d1bdc (patch) | |
| tree | 74eaf63f04fa673d81fe900f38dbae1b1241fefe /tests/test_malloc.c | |
| parent | b333df29dcfabcd4ad0cf630fdb648eaa38ec1c7 (diff) | |
Add some malloc annotations
Diffstat (limited to 'tests/test_malloc.c')
| -rw-r--r-- | tests/test_malloc.c | 7 |
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 | |||
| 5 | int main(int argc, char** argv) { | ||
| 6 | free(malloc(1)); | ||
| 7 | } | ||
