Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/crash34.C

raw
1 // { dg-do assemble }
2 // Origin: Jakub Jelinek <[email protected]>
3
4
5 class v
6 {
7 double x, y;
8 public:
9 v();
10 };
11
12 class w : public v {
13 public :
14 static const w X;
15 w();
16 };
17
18 void bar(w x);
19
20 void foo()
21 {
22 bar(w::X);
23 }