Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / pr51796.c
blob64a609535192a1e74464aa395d0ae57f3d8b872e
1 /* PR bootstrap/51796 */
2 /* { dg-do compile } */
3 /* { dg-options "-Os -fno-omit-frame-pointer -fno-tree-dominator-opts -fno-tree-fre -fno-tree-pre" } */
5 void stop (void);
6 typedef void (*entry_func) (void) __attribute__ ((noreturn));
7 extern entry_func entry_addr;
8 static void bsd_boot_entry (void)
10 stop ();
12 void bsd_boot (void)
14 entry_addr = (entry_func) bsd_boot_entry;
15 (*entry_addr) ();