repo.or.cz
/
sdcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
struct / union in initializer, RFE #901.
[sdcc.git]
/
sdcc
/
support
/
regression
/
tests
/
gcc-torture-execute-vrp-4.c
blob
2b2ff075cf8fa3cdde1997f05aca312d330d3e9b
1
/*
2
vrp-4.c from the execute part of the gcc torture tests.
3
*/
4
5
#include <testfwk.h>
6
7
void
test
(
int
x
,
int
y
)
8
{
9
int
c
;
10
11
if
(
x
==
1
)
ASSERT
(
0
);
12
if
(
y
==
1
)
ASSERT
(
0
);
13
14
c
=
x
/
y
;
15
16
if
(
c
!=
1
)
ASSERT
(
0
);
17
}
18
19
void
20
testTortureExecute
(
void
)
21
{
22
test
(
2
,
2
);
23
return
;
24
}