// PR c++/49176 // { dg-options -std=c++0x } struct A { static int a(); }; template struct B { static int const b; }; int f() { return B<0>::b; } template int const B::b=A::a();