blob: 05c0878e86f8c4911f1f7d3434d19582497c9b69 [file] [log] [blame]
// { dg-do compile { target c++11 } }
// { dg-require-effective-target tls }
// The reference temp should be TLS, not normal data.
// { dg-final { scan-assembler-not "\\.data" { target tls_native xfail powerpc-*-aix* } } }
thread_local int&& ir = 42;
void f()
{
ir = 24;
}