Sign in
akaros
/
upstream
/
9ba6f0fe91ecb48e08601005bf91283269c6f5ac
/
.
/
tests
/
old
/
faultread.c
blob: 3cf8a3fa93f4cb2d1a346f24a65166c8aaee1894 [
file
] [
log
] [
blame
]
// buggy program - faults with a read from location zero
#include
<stdio.h>
int
main
(
int
argc
,
char
**
argv
)
{
printf
(
"I read %08x from location 0!\n"
,
*(
unsigned
*)
0
);
return
0
;
}