repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Nonsense removed: upper case and lower case the same time.
[AROS.git]
/
test
/
traptest.c
blob
fae091ea20335493e32ae8c0344a36b63177af54
1
#include <stdio.h>
2
3
int
main
()
4
{
5
int
a
,
b
,
c
;
6
7
a
=
3
;
8
b
=
0
;
9
printf
(
"Attempting to divide by zero...
\n
"
);
10
c
=
a
/
b
;
11
printf
(
"Done, result is: %d!
\n
"
,
c
);
12
return
0
;
13
}