2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / winline-3.c
blob7b7c8c5b9eb8b2f58284cdcc8726e88d2b60f198
1 /* { dg-do compile } */
2 /* { dg-options "-Winline -O2 --param max-inline-insns-single=1 --param inline-min-speedup=100 -fgnu89-inline" } */
4 void big (void);
5 inline int q(void) /* { dg-warning "max-inline-insns-single" } */
7 big();
8 big();
9 big();
10 big();
11 big();
12 big();
13 big();
14 big();
15 big();
16 big();
18 inline int t (void)
20 return q (); /* { dg-message "called from here" } */