blob: 660d539fb99564c2833f3e10d33ed2f0c76ffd69 [file] [log] [blame]
/* Free two different elements in a union which hold the same pointer data. */
#include <stdlib.h>
int main()
{
union {
int *A, *B;
} u;
u.A = malloc(sizeof(int));
free(u.A);
free(u.B);
return 0;
}