Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
opt
/
thunk3-1.C
blob: c540b0fa2b4f0052e410a286b30f925634b40c68 [
file
] [
log
] [
blame
]
// { dg-do compile }
// { dg-options "-O1" }
struct
Foo
{
};
struct
Bar
{
virtual
~
Bar
();
};
struct
Baz
:
public
virtual
Bar
{
virtual
void
Func
(
Foo
);
};
void
unused
()
{
Baz
().
Func
(
Foo
());
}