OSDN Git Service

Fix misapplied patch.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / pr21840.c
1 void fn_show_state(void);
2 typedef void (*fn_handler_fn)(void);
3 static fn_handler_fn fn_handler[1];
4
5 void k_spec(unsigned char value)
6 {
7   void *func = fn_handler[value];
8   if (func == fn_show_state )
9     return;
10   fn_handler[value]();
11 }