1 /* { dg-do compile } */
2 /* { dg-options "-O2 -funit-at-a-time" } */
3 /* { dg-final { scan-assembler-not "link_error" } } */
4 /* In unit-at-time the functions should be assembled in order
5 e q t main, so we realize that they are pure. */
7 void link_error (void);
9 static int e(void) __attribute__ ((noinline
));
10 static int q(void) __attribute__ ((noinline
));
11 static int t(void) __attribute__ ((noinline
));