1 /* PR tree-optimization/46165 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce" } */
4 
5 extern void foo (void) __attribute__((noreturn));
6 void
g(void)7 g (void)
8 {
9   void (*f) (void) = foo;
10   f ();
11 }
12