Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / template / static7.C
blobedb8e6a8db0e0542073b9a6c5b58e95cfd58be48
1 // PR c++/17530
2 // { dg-do link }
4 typedef void (*Func) ();
5 void f (Func) {}
6 struct B
8   static void staticfunc () {}
9 };
10 template <int> 
11 void C(){ f (B::staticfunc); }
12 int main ()
14   C<0>();
15   return 0;