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
Add "__RTL" to cc1
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
rtl
/
x86_64
/
times-two.h
blob
3b89cb962f1b95d210960e67f90a3336e06af35c
1
/* Shared test code for the various __RTL tests of times_two that
2
start at different passes. */
3
4
extern
void
abort
(
void
);
5
int
times_two
(
int
i
);
6
7
int
main
(
void
)
8
{
9
if
(
times_two
(
0
) !=
0
)
10
abort
();
11
12
if
(
times_two
(
1
) !=
2
)
13
abort
();
14
15
if
(
times_two
(
100
) !=
200
)
16
abort
();
17
18
if
(
times_two
(-
20
) != -
40
)
19
abort
();
20
21
return
0
;
22
}