URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.dg/] [template/] [static7.C] - Rev 12
Compare with Previous | Blame | View Log
// PR c++/17530
// { dg-do link }
typedef void (*Func) ();
void f (Func) {}
struct B
{
static void staticfunc () {}
};
template <int>
void C(){ f (B::staticfunc); }
int main ()
{
C<0>();
return 0;
}