11 lines
211 B
C
Executable file
11 lines
211 B
C
Executable file
/* Accesses a bad address.
|
|
The process must be terminated with -1 exit code. */
|
|
|
|
#include "tests/lib.h"
|
|
#include "tests/main.h"
|
|
|
|
void
|
|
test_main (void)
|
|
{
|
|
fail ("bad addr read as %d", *(int *) 0x04000000);
|
|
}
|