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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [inline-2.c] - Rev 754

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

/* { dg-do link } */
 
extern inline void foo2 (void) __attribute__((always_inline,gnu_inline));
extern inline void foo1 (void) __attribute__((always_inline,gnu_inline));
void bar1 (void);
void bar2 (void);
 
extern inline void __attribute__((always_inline,gnu_inline))
foo2 (void)
{
  bar2 ();
}
 
void
bar1 (void)
{
  foo2 ();
}
 
void
bar2 (void)
{
  foo1 ();
}
 
extern inline void __attribute__((always_inline,gnu_inline))
foo1 (void)
{
  bar1 ();
}
 
int main()
{
  return 0;
}
 

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.