repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
re PR c++/67184 (Missed optimization with C++11 final specifier)
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
pr87398.C
blob
00a2cd3f1c7aa10013cc6c9390e5353f7cf906c5
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
}