1 /* PR 36513: -Wlogical-op warns about strchr */
2 /* { dg-do compile } */
3 /* { dg-options "-Wlogical-op" } */
5 extern void *__rawmemchr (const void *__s, int __c);
9 (__extension__ (__builtin_constant_p (t)
10 && !__builtin_constant_p (s)
12 ? (char *) __rawmemchr (s, t)
13 : __builtin_strchr (s, t)));