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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr27150-1.c] - Rev 750

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

/* { dg-do link } */
/* { dg-options "-O2" } */
extern int link_error ();
int g(int f)
{
  int a = ((&f)!=0);
  if (!a) link_error ();
  return a;
}
 
int main()
{
  g(10);
}
 

Go to most recent revision | 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.