2 // { dg-options "-Werror" }
4 struct sc_module { int member; };
6 struct sc_signal_in_if { bool state; };
8 typedef void (sc_module::*SC_ENTRY_FUNC)();
10 class sc_clock : public sc_signal_in_if, public sc_module
14 void posedge_action();
20 fptr = static_cast<SC_ENTRY_FUNC>(&sc_clock::posedge_action);