LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / winline-9.c
blob6d9cba39d9afb1b12b210f54a38bf8580314ca35
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Winline --param large-stack-frame=10 --param large-stack-frame-growth=2 -fgnu89-inline" } */
4 int a,b;
5 void test(char *);
6 static inline
7 int aa (void)
9 char t[10];
10 test(t);
12 static inline
13 int bb (void) /* { dg-warning "large-stack-frame" } */
15 char t[100];
16 test(t);
19 int
20 t()
22 if (a)
23 aa();
24 if (b)
25 bb(); /* { dg-message "called from here" } */