// { dg-options "-std=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 } } }

void f()
{
  thread_local int&& ir = 42;
}
