#include <iostream>
using namespace std;

class thing1
{
public:
    virtual void thingTest()
    {
        cout << "I AM THING 1\n";
    }
};

class thing2: public thing1
{
public:
    virtual void thingTest()
    {
        cout << "I AM THING 2\n";
    }
};

void DoStuff( thing1& temp )
{
    temp.thingTest();
}


int main()
{
    thing2 thing;
    DoStuff( thing );
}

