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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [pr52400_0.C] - Rev 693

Compare with Previous | Blame | View Log

// { dg-lto-do run }

extern "C" {
  static int f4(int);

int f5(int a) {
  extern int f4(int);
  return f4(a);
}
}

int f4(int a) { return 4+a; }

int main(int argc, char *argv[])
{
  int a = f4(1);
  return !(a == 5);
}

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.