Browse Source

Added a test copy constructor.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
pull/62/head
Dimitar Dobrev 12 years ago
parent
commit
0e16998342
  1. 5
      tests/Basic/Basic.cpp
  2. 1
      tests/Basic/Basic.h

5
tests/Basic/Basic.cpp

@ -32,6 +32,11 @@ Hello::Hello () @@ -32,6 +32,11 @@ Hello::Hello ()
//cout << "Ctor!" << "\n";
}
Hello::Hello(const Hello& hello)
{
}
void Hello::PrintHello(const char* s)
{
//cout << "PrintHello: " << s << "\n";

1
tests/Basic/Basic.h

@ -65,6 +65,7 @@ public: @@ -65,6 +65,7 @@ public:
};
Hello ();
Hello(const Hello& hello);
void PrintHello(const char* s);
bool test1(int i, float f);

Loading…
Cancel
Save