OSDN Git Service

* c-decl.c (grokfield): Allow typedefs for anonymous structs and
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / winline-2.c
1 /* { dg-do compile } */
2 /* { dg-options "-Winline -O2" } */
3
4 inline int q(void);              /* { dg-warning "body not available" "" } */
5 inline int t(void)
6 {
7         return q();              /* { dg-warning "called from here" "" } */
8 }