Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git] / main / gcc / testsuite / g++.dg / tls / thread_local-ice2.C
blob5d3ba697a705949854a56a3e88f705004b6b22ff
1 // PR c++/58672
2 // { dg-do compile { target c++11 } }
3 // { dg-require-effective-target tls }
5 struct A
7   A(int);
8   i;                            // { dg-error "" }
9 };
11 thread_local A a(0);