Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/stabilize-6771.B
/
.
/
gcc
/
testsuite
/
c-c++-common
/
pr36513-2.c
blob: 3c12e1ae89e59bd96081f286de00cfbc64151e47 [
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
);
}