Sign in
gnu
/
gcc
/
8199f0c9707c548bbe166f492c8264516068d452
/
.
/
gcc
/
testsuite
/
gcc.dg
/
inline6.c
blob: 3b9e3e99e959850f23bfd9769d3c72f2263892e0 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-std=gnu89" } */
static
int
i
;
extern
int
j
;
extern
inline
int
func1
(
void
)
{
return
i
++;
/* { dg-warning "static" } */
}
extern
inline
int
func2
(
void
)
{
return
j
++;
}
inline
int
func3
(
void
)
{
return
i
++;
}