12 lines
211 B
C
12 lines
211 B
C
|
/* 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);
|
||
|
}
|