2 // Origin: Benjamin Pflugmann <philemon@spin.de>
3 // Special g++ Options: -O
5 // DR 295 allows qualification via typedef
7 typedef const char *(func_type)();
13 // The following is DR 295 dependent
14 const func_type* function(void) { return Function; } // ERROR - constifying
15 volatile func_type* functionv(void); // ERROR - qualifier
18 void work(const char *source)
20 work( action.function()() );