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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [inline-13.c] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Verify basic C99 inline functionality.  */
2
/* { dg-do compile } */
3
/* { dg-options "-std=c99" } */
4
 
5
static inline int func2 (void)
6
{
7
}
8
 
9
inline int dontgenerate1 (void)
10
{ /* { dg-warning "inline" "" } */
11
  func2 ();
12
  return 1;
13
}
14
 
15
extern inline int func1 (void) { return 1; }  /* { dg-warning "inline" "" } */

powered by: WebSVN 2.1.0

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