Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/c-c++-common/pr36513-2.c @ 128:fe568345ddd5
fix CbC-example
author | mir3636 |
---|---|
date | Wed, 11 Apr 2018 19:32:28 +0900 |
parents | 04ced10e8804 |
children | 84e7813d76e9 |
line wrap: on
line source
/* 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); }