// PR c++/34178 // { dg-options "-frepo" } // { dg-final { cleanup-repo-files } } // { dg-require-host-local "" } // { dg-skip-if "dkms are not final links" { vxworks_kernel } } template class A { private: static const int x; static int y; public: int getX () { return x + y; } }; template const int A::x = 0; template int A::y = 0; int main () { A a; return a.getX(); }