// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
// picks M.I1
#include <iostream>

using namespace std;

class I1
{
    public:
        void M()
        {
            cout << "I1.M" << endl;
        }
};

class I2
{
    public:
        void m()
        {
            cout << "I2.M" << endl;
        }
};

class C : public I1, I2
{
};

int main()
{
    C *o = new C();
    o->M();
}
