blob: be082876b58b0323ab65e4029d5a7825a7cb2e66 [file] [log] [blame]
// { dg-do assemble }
struct A {
int operator[] (int);
};
//int A::operator[] (int);
int A::operator[] (int j)
{
return j * j;
}
extern A a;
int q () { return a[99]; }