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