Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
asan
/
pr79783.C
blob: 939f60b2819f38c64e4bc6ebf3f02c78a987a04a [
file
] [
log
] [
blame
]
// PR sanitizer/79783
// { dg-options "-fno-tree-dce" }
struct
A
{
static
void
foo
(
const
char
&)
{}
};
struct
B
{
B
()
{
A
::
foo
(
char
());
}
};
struct
C
{
virtual
void
bar
()
const
{
B b
;
}
};
C c
;