Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
pr51294.c
blob: 395e6b2dfc38c87731d763db2d877640afef5bf3 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-Wconversion -Wsign-conversion" } */
void
foo
(
int
haveBar
,
char
bar_
)
{
char
zuul
=
haveBar
?
bar_
:
0
;
char
zuul2
=
haveBar
?
bar_
:
bar_
;
char
zuul3
=
haveBar
?
0
:
bar_
;
}