Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git] / main / gcc / testsuite / g++.dg / tls / thread_local7.C
blob3cb02dd51fcc844f6942f02c34d79d750f914053
1 // { dg-do compile { target c++11 } }
2 // { dg-require-effective-target tls }
4 // The reference temp should be TLS, not normal data.
5 // { dg-final { scan-assembler-not "\\.data" { target tls_native } } }
7 void f()
9   thread_local int&& ir = 42;