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

Subversion Repositories openrisc

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

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