repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-12-20 Tobias Burnus <burnus@net-b.de>
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
pr36513-2.c
blob
3c12e1ae89e59bd96081f286de00cfbc64151e47
1
/* PR 36513: -Wlogical-op warns about strchr */
2
/* { dg-do compile } */
3
/* { dg-options "-Wlogical-op" } */
4
#ifdef __cplusplus
5
#include <cstring>
6
#else
7
#include <string.h>
8
#endif
9
int
main2
()
10
{
11
char
*
s
,
t
;
12
strchr
(
s
,
t
);
13
}