Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
pr87398.C
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
;
}