1 /* { dg-do link } */
2 /* { dg-options "-mminimal-toc" { target { powerpc*-*-* && lp64 } } } */
3 
4 char *strchr (const char *, int);
5 
6 int
foo(int a)7 foo (int a)
8 {
9   int b;
10 
11   b = 0;
12   if ("/"[1] != '\0')
13     if (strchr ("/", a))
14       b = 1;
15   return b;
16 }
17 
18 int
main(void)19 main (void)
20 {
21   return 0;
22 }
23