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