2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / torture / pr82823.C
blobdab369e7ad3716d97e54839b41d0e7ea7a353240
1 // { dg-do compile }
2 // { dg-additional-options "-fstack-clash-protection" }
3 // { dg-require-effective-target supports_stack_clash_protection }
6 class a
8 public:
9   ~a ();
10   int b;
12 class c
14 public:
15   a m_fn1 ();
17 class d
19   int e ();
20   c f;
22 int
23 d::e ()
25   return f.m_fn1 ().b;