summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/inline7.c
blob: 54f3360b8a7af1e38d447086f6d83779a1a20905 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-std=gnu89" } */
extern inline void func1 (void) {
  static int i;  /* { dg-warning "static" } */
}
inline void func3 (void) 
{
  static int i;
}