[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / ppc64-toc.c
blob21090af235ee83c474440daa04ec6eeb18b2d1aa
1 /* { dg-do link } */
2 /* { dg-options "-mminimal-toc" { target { powerpc*-*-* && lp64 } } } */
4 char *strchr (const char *, int);
6 int
7 foo (int a)
9 int b;
11 b = 0;
12 if ("/"[1] != '\0')
13 if (strchr ("/", a))
14 b = 1;
15 return b;
18 int
19 main (void)
21 return 0;