summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/winline-2.c
blob: 584c68fddf6b136c27b826cf034f5f923bca1f47 (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-options "-Winline -O2" } */

inline int q(void);		 /* { dg-warning "body not available" "" } */
inline int t(void)
{
	return q();		 /* { dg-warning "called from here" "" } */
}