blob: 419370df55990f85e6814c653bac7796eb075272 [file] [log] [blame]
// RUN: test.sh -e -t %t %s
//
// TEST: free-006
//
// Description:
// Test invalid memory deallocations
//
#include <stdio.h>
#include <stdlib.h>
int
main (int argc, char ** argv) {
char * array = calloc (1024, 10);
free (&(array[5]));
return 0;
}