Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
921117-1.c
blob: 2ed30fbeeef8688413120d50708cf1c75de5931b [
file
] [
log
] [
blame
]
struct
s
{
char
text
[
11
];
int
flag
;
}
cell
;
int
check
(
struct
s p
)
{
if
(
p
.
flag
!=
99
)
return
1
;
return
strcmp
(
p
.
text
,
"0123456789"
);
}
main
()
{
cell
.
flag
=
99
;
strcpy
(
cell
.
text
,
"0123456789"
);
if
(
check
(
cell
))
abort
();
exit
(
0
);
}