summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/crash37.C
blob: 0e46c93593cf2a9b7a67a26a2f9626c2be000ba4 (plain)
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() { }