1 /* Reads from a file into a bad address.
2 The process must be terminated with -1 exit code. */
6 #include "tests/main.h"
13 CHECK ((handle = open ("sample.txt")) > 1, "open \"sample.txt\"");
14 read (handle, (char *) &handle - 4096, 1);
15 fail ("survived reading data into bad address");