summaryrefslogtreecommitdiff
path: root/test/invalid-free.c
blob: 5aba5e60d273cf1b6d1ead48f662de95f4855b2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#define _POSIX_C_SOURCE 200809L
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "mapalloc.h"

int main(void)
{
	int foo = 42;
	MA_free(&foo);
	printf("freed\n");
}