OSDN Git Service

fix
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / static2.C
1 // Build don't link:
2 // Based on a test case by Koos Vriezen <koos@polder.ubc.kun.nl>
3
4 struct foo {
5     static void (*mystatic) ();
6 };
7
8 void bar(foo& t) {
9     t.mystatic ();
10 }