1 2 3 4 5 6 7 8 9 10 11
// PR c++/58672 // { dg-options "-std=c++11" } // { dg-require-effective-target tls } struct A { A(int); i; // { dg-error "" } }; thread_local A a(0);