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
2018-01-24 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
conv-3.c
blob
3b4f4309d9df1cbe89f17f1468fd60cc71e0d3ee
1
/* PR middle-end/19100 */
2
/* { dg-do run } */
3
/* { dg-options "-O2" } */
4
5
void
abort
(
void
);
6
7
int
test
(
int
v
)
8
{
9
return
((
signed char
) (
v
?
0x100
:
0
)) ?
17
:
18
;
10
}
11
12
int
main
()
13
{
14
if
(
test
(
2
) !=
18
)
15
abort
();
16
return
0
;
17
}
18