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] - Blame information for rev 825

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do link } */
2
/* { dg-options "-mminimal-toc" { target { powerpc*-*-* && lp64 } } } */
3
 
4
char *strchr (const char *, int);
5
 
6
int
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
19
main (void)
20
{
21
  return 0;
22
}

powered by: WebSVN 2.1.0

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