1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// { dg-do assemble } // GROUPS passed old-abort typedef int _sigset_t; extern "C" { extern int sigaction(int signo, const struct sigaction *action_spec_p, struct sigaction *old_action_p); } extern "C" { extern void foo(); } class SS { friend void foo(); protected: void goo(); }; inline void SS::goo() { }