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
PR testsuite/86649
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
inherit
/
virtual11.C
blob
076de2162e510096c360e95e901440eb3d80d465
1
// PR c++/59031
2
// { dg-do compile }
3
// { dg-options "-fdump-tree-gimple " }
4
class B {
5
public:
6
virtual int add (int a, int b) {return a+ b;}
7
};
8
9
class D : public B {
10
};
11
12
int foo (int a, int b) {
13
D d;
14
return d.add(a, b);
15
}
16
// { dg-final { scan-tree-dump-not "OBJ_TYPE_REF" "gimple" } }