blob: 00a2cd3f1c7aa10013cc6c9390e5353f7cf906c5 [file] [log] [blame]
// PR c++/87398
// { dg-do compile }
struct A { virtual int foo (); };
int
bar (int x)
{
A e[5][2];
int f = e[4][x].foo ();
return f;
}