[PR target/115123] Fix testsuite fallout from sinking heuristic change
[official-gcc.git] / gcc / testsuite / gcc.dg / pr105972.c
blob93518f60f7fb92803e7f010052eba7268a315206
1 /* PR c/105972 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wno-old-style-definition -O2 -g" } */
5 __attribute__((optimize (0))) int
6 foo (void)
8 int
9 bar (x)
10 int x;
12 return x;
14 return bar (0);