No Subject

Miloslav GRUNDMANN grundman@mip.ups-tlse.fr
Thu Oct 2 07:18:00 GMT 1997


//
// gcc version egcs-2.90.10 970924 (gcc2-970802 experimental)
// Internal compiler error

class a { public : virtual int operator[](int) const { return 0; }; };

class b { public : int operator[](int) const { return 1; }; };

class c : public a,b {};

void test()
{
c x;
x[0];
}




More information about the Gcc-bugs mailing list