Sign in
gnu
/
gcc
/
a5b5cabc91c38710adbe5c8a2b53882abe994441
/
.
/
gcc
/
testsuite
/
gcc.dg
/
lto
/
pr55660_0.c
blob: 7e7bb2ffff8c53c8bd174c79cfc8723d8ffc397d [
file
] [
log
] [
blame
]
/* { dg-lto-do run } */
/* { dg-extra-ld-options { -funsigned-char } } */
char
n
[
3
]
=
{
'a'
,
'b'
,
'c'
};
int
foo
(
char
*
x
)
{
if
(*
x
==
'b'
)
return
(
int
)*
x
;
*
x
=
'y'
;
return
0
;
}