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