]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr79255.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr79255.c
CommitLineData
eee3756d
JJ
1/* PR bootstrap/79255 */
2/* { dg-do compile } */
3/* { dg-options "-O2 -g -fno-toplevel-reorder -Wno-attributes" } */
4
5static inline __attribute__((always_inline)) int foo (int x);
6
7int
8baz (void)
9{
10 return foo (3) + foo (6) + foo (9);
11}
12
13static inline __attribute__((always_inline)) int
14foo (int x)
15{
16 auto inline int __attribute__((noinline)) bar (int x)
17 {
18 return x + 3;
19 }
20 return bar (x) + bar (x + 2);
21}