// PR c++/34340 // { dg-options "-frepo" } // { dg-final { cleanup-repo-files } } // { dg-require-host-local "" } 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 () { }