aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libfoo/foo.cpp
blob: 22be35018d57d9b97ab0ad738512b5a864f27805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <iostream>
#include "foo.h"

using namespace std;

void Foo::unpureVirtual()
{
    cout << "Foo::unpureVirtual()" << endl;
}

void Foo::callPureVirtual()
{
    cout << "Foo::callPureVirtual() -- calling pureVirtual..." << endl;
    this->pureVirtual();
    cout << "                       -- pureVirtual called." << endl;
}