[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / gomp / tls-wrap1.C
blob91c9f8631257946c7167bdee9b2730c8ddbb6374
1 // If we can see the definition at the use site, we don't need to bother
2 // with a wrapper.
4 // { dg-require-effective-target tls }
5 // { dg-final { scan-assembler-not "_ZTW1i" } }
7 int i = 42;
8 #pragma omp threadprivate (i)
10 int main()
12   return i - 42;