rt_gccstream/gcc/testsuite/gcc.target/powerpc/ppc64-toc.c

23 lines
274 B
C

/* { dg-do link } */
/* { dg-options "-mminimal-toc" { target { powerpc*-*-* && lp64 } } } */
char *strchr (const char *, int);
int
foo (int a)
{
int b;
b = 0;
if ("/"[1] != '\0')
if (strchr ("/", a))
b = 1;
return b;
}
int
main (void)
{
return 0;
}