OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [ppc64-toc.c] - Rev 816

Compare with Previous | Blame | View Log

/* { 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;
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.