Sign in
akaros
/
upstream
/
refs/heads/pcidevice
/
.
/
tests
/
old
/
divzero.c
blob: 59dbf18fe2f47a2ddfc5416a1d79c39389cfd79b [
file
] [
log
] [
blame
] [
edit
]
// buggy program - causes a divide by zero exception
#include
<stdio.h>
int
zero
;
int
main
(
int
argc
,
char
**
argv
)
{
printf
(
"1/0 is %08x!\n"
,
1
/
zero
);
return
0
;
}