Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
tree-ssa
/
final1.C
blob: 43407f0967571a303e025ab77b6d3912fb6f1fa4 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// { dg-additional-options -fdump-tree-gimple }
// { dg-final { scan-tree-dump-not "vptr" gimple } }
struct
A
{
int
i
;
};
struct
B
final
:
public
virtual
A
{
int
j
;
};
int
f
(
B
*
b
)
{
return
b
->
i
;
}