Files updated, added and removed in order to turn the ERASER branch into HEAD
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1086 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/memcheck/tests/badfree.c b/memcheck/tests/badfree.c
new file mode 100644
index 0000000..3a22567
--- /dev/null
+++ b/memcheck/tests/badfree.c
@@ -0,0 +1,18 @@
+
+
+#include <stdio.h>
+#include <stdlib.h>
+
+int main ( void )
+{
+ void* p = (void*)0x87654321;
+ int q[] = { 1, 2, 3 };
+
+ /* Free a pointer to Never-Never Land */
+ free(p);
+
+ /* Free a pointer to a stack block */
+ free(q);
+
+ return 0;
+}