blob: dab369e7ad3716d97e54839b41d0e7ea7a353240 [file] [log] [blame]
// { dg-do compile }
// { dg-additional-options "-fstack-clash-protection" }
// { dg-require-effective-target supports_stack_clash_protection }
class a
{
public:
~a ();
int b;
};
class c
{
public:
a m_fn1 ();
};
class d
{
int e ();
c f;
};
int
d::e ()
{
return f.m_fn1 ().b;
}