2 /* { dg-options "-O2" } */
3 typedef void (*listener_fun
)(
12 listener_fun listener
;
19 extern void abort(void);
20 void function_calling_listener (struct data_t data
);
22 void function_calling_listener (struct data_t data
)
24 data
.listener(data
.a
, data
.c
, data
.d
);
27 void my_listener(int a
, int b
, int c
)
29 if (a
!= 42 || b
!= 44 || c
!= 45)
40 d
.listener
= my_listener
;
41 function_calling_listener (d
);