// PR c++/34340 // { dg-options "-frepo" } // { dg-final { cleanup-repo-files } } // { dg-require-host-local "" } // { dg-skip-if "dkms are not final links" { vxworks_kernel } } struct A { int a; }; template struct D { static const A b; }; template const A D::b = { 2 }; template class D; const A *x = &D::b; int main () { }