Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr67821.c
blob: 1c9e8b9db3fa670dd641976f7d480d88a8badb5b [
file
] [
log
] [
blame
]
/* { dg-do compile } */
int
isdigit
(
int
);
int
foo
(
const
char
*
s
)
{
int
success
=
1
;
const
char
*
p
=
s
+
2
;
if
(!
isdigit
(*
p
))
success
=
0
;
while
(
isdigit
(*
p
))
++
p
;
return
success
;
}