Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
pr36513-2.c
blob: d81c81dd4da08f812e7f4ca7f0b0e5852774f1d8 [
file
] [
log
] [
blame
]
/* PR 36513: -Wlogical-op warns about strchr */
/* { dg-do compile } */
/* { dg-options "-Wlogical-op" } */
#ifdef
__cplusplus
#include
<cstring>
#else
#include
<string.h>
#endif
int
main2
()
{
char
*
s
,
t
;
strchr
(
s
,
t
);
return
0
;
}