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;