1
 2
 3
 4
 5
 6
 7
 8
 9
10
#include <stdlib.h>
#include <stdint.h>

int
main(void)
{
    const int *p = malloc(sizeof(*p));

    free((int *)(uintptr_t)p);
}