Debian Codegraph @

gcc/testsuite/g++.dg/gomp/tls-template1.C

raw
1 // { dg-require-effective-target tls }
2
3 template <class T> struct B
4 {
5 T t;
6 };
7
8 class A {
9 static B<int> b;
10 #pragma omp threadprivate(b)
11 };
12
13 B<int> A::b;