* g++.dg/parse/parse4.C: New test.
From-SVN: r60728
This commit is contained in:
parent
54ea87dbcc
commit
79cc298616
@ -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.
|
||||
|
25
gcc/testsuite/g++.dg/parse/parse4.C
Normal file
25
gcc/testsuite/g++.dg/parse/parse4.C
Normal 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();
|
||||
};
|
Loading…
Reference in New Issue
Block a user