1 // { dg-do assemble  }
2 // Based on a test case by Koos Vriezen <koos@polder.ubc.kun.nl>
3 
4 struct foo {
5     static void (*mystatic) ();
6 };
7 
bar(foo & t)8 void bar(foo& t) {
9     t.mystatic ();
10 }
11