* g++.dg/parse/parse4.C: New test.

From-SVN: r60728
This commit is contained in:
Neil Booth 2003-01-01 00:49:36 +00:00 committed by Neil Booth
parent 54ea87dbcc
commit 79cc298616
2 changed files with 29 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-01-01 Neil Booth <neil@daikokuya.co.uk>
* g++.dg/parse/parse4.C: New test.
2003-01-01 Neil Booth <neil@daikokuya.co.uk>
* g++.dg/parse/parse3.C: New test.

View File

@ -0,0 +1,25 @@
/* PR c++/88 */
/* { dg-do compile } */
class Hvec
{
public:
Hvec(double x, double y, double z);
~Hvec();
};
class Camera1
{
public:
Camera1(const Hvec &basepos=Hvec(0.0,0.0,0.0));
~Camera1();
};
class Camera2
{
public:
Camera2(const Hvec &basepos);
inline Camera2() { Camera2(Hvec(0.0,0.0,0.0)); };
~Camera2();
};