aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr81207.c
blob: f0faa8c0a229fc0a7af93df3f049cf937685fe81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR middle-end/81207 */

static const char *b[2] = { "'", "" };

int
foo (const char *d)
{
  int e;
  for (e = 0; b[e]; e++)
    if (__builtin_strstr (d, b[e]))
      return 1;
  return 0;
}