2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr51796.c
blobc07ad1087cce2507e00e0a206f428e28731333c3
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 typedef void (*entry_func) (void) __attribute__ ((noreturn));
6 extern entry_func entry_addr;
7 static void bsd_boot_entry (void)
9 stop ();
11 void bsd_boot (void)
13 entry_addr = (entry_func) bsd_boot_entry;
14 (*entry_addr) ();