2 /* { dg-options "-O" } */
4 /* When optimized we expect the call to foo () in bar to be inlined
5 and the call to link_error optimized away. */
7 extern void link_error (void);
8 inline int __attribute__((always_inline)) foo(void) { return 0; }
12 int (*fn)(void) = foo;