URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [inline-30.c] - Rev 300
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR c/36507 */ /* { dg-do run } */ /* { dg-options "-O0 -std=gnu99 -fgnu89-inline" } */ int main (void) { int i = 2; auto inline int f1 (void) { return i; } inline int f2 (void) { return i; } auto inline int f3 (void); auto inline int f3 (void) { return i; } auto inline int f4 (void); inline int f4 (void) { return i; } return f1 () + f2 () + f3 () + f4 () - 8; }
Go to most recent revision | Compare with Previous | Blame | View Log