Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.brendan/crash25.C

raw
1 // { dg-do assemble }
2 // GROUPS passed old-abort
3 class memo{
4 public:
5 static int rep;
6 };
7
8 class port_head : public memo {
9 public:
10 static int rep;
11 unsigned cap();
12 };
13
14 class buff_head : private port_head {
15 public:
16 static int rep;
17 port_head::cap; // { dg-warning "deprecated" }
18 };