repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
arith-1.c
blob
58df322e68aca188eed9cdfd72f25b93c47de6bb
1
unsigned
2
sat_add
(
unsigned
i
)
3
{
4
unsigned
ret
=
i
+
1
;
5
if
(
ret
<
i
)
6
ret
=
i
;
7
return
ret
;
8
}
9
10
main
()
11
{
12
if
(
sat_add
(~
0U
) != ~
0U
)
13
abort
();
14
exit
(
0
);
15
}