1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 /* The function order in this file is opposite from what the cgraph
5 topological sort would output. So we can check the order is preserved. */
8 static int func2(void);
11 #define NOREORDER __attribute__((no_reorder))
16 NOREORDER
__attribute__((noinline
)) int bozo(void)
24 NOREORDER
__attribute__((noinline
)) static int func1(void)
31 NOREORDER
__attribute__((noinline
)) static int func2(void)
38 /* { dg-final { scan-assembler "firstasm.*bozo.*jukjuk.*func1.*barbar.*func2.*lastasm" } } */