1 // PR c++/84978
2 // { dg-do compile }
3 
4 struct S {
5   void (*fn)();
6   int a[10];
7 };
8 
9 S
foo()10 foo ()
11 {
12   S s;
13   s.fn ();
14   return s;
15 }
16