1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -fdump-tree-optimized" } */ 3 int a; 4 int elantech_detect(void)5elantech_detect (void) 6 { 7 return -38; 8 } 9 inline int fsp_detect(void)10fsp_detect (void) 11 { 12 return -38; 13 } 14 void psmouse_extensions(void)15psmouse_extensions (void) 16 { 17 int (*b)() = fsp_detect; 18 a = b (); 19 } 20 /* { dg-final { scan-tree-dump-not "fsp_detect" "optimized" } } */ 21