1/* PR middle-end/53084 */
2
3extern void abort (void);
4
5__attribute__((noinline, noclone)) void
6bar (const char *p)
7{
8  if (p[0] != 'o' || p[1] != 'o' || p[2])
9    abort ();
10}
11
12int
13main ()
14{
15  static const char *const foo[] = {"foo" + 1};
16  bar (foo[0]);
17  return 0;
18}
19