Debian Codegraph @

gcc/testsuite/g++.dg/other/pr87398.C

raw
1 // PR c++/87398
2 // { dg-do compile }
3
4 struct A { virtual int foo (); };
5
6 int
7 bar (int x)
8 {
9 A e[5][2];
10 int f = e[4][x].foo ();
11 return f;
12 }