repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
testsuite: arm: Force hard ABI for pr51534.c test
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20050131-1.c
blob
a0d6ec56be6e648e098f2610f0eca18be2311cee
1
/* Verify that we do not lose side effects on a MOD expression. */
2
3
#include <stdlib.h>
4
#include <stdio.h>
5
6
int
7
foo
(
int
a
)
8
{
9
int
x
=
0
%
a
++;
10
return
a
;
11
}
12
13
int
14
main
(
void
)
15
{
16
if
(
foo
(
9
) !=
10
)
17
abort
();
18
exit
(
0
);
19
}