]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.old-deja/g++.other/crash34.C
spec4.C: Remove stray semicolon.
[gcc.git] / gcc / testsuite / g++.old-deja / g++.other / crash34.C
CommitLineData
d1877a9b
JJ
1// Build don't link:
2// Origin: Jakub Jelinek <jakub@redhat.com>
3
4// crash test - XFAIL *-*-*
5
6class v
7{
8 double x, y;
9public:
10 v();
11};
12
13class w : public v {
14public :
15 static const w X;
16 w();
17};
18
19void bar(w x);
20
21void foo()
22{
23 bar(w::X);
24}
This page took 0.766331 seconds and 5 git commands to generate.