Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
tls
/
thread_local7.C
blob: 3cb02dd51fcc844f6942f02c34d79d750f914053 [
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 } } }
void
f
()
{
thread_local
int
&&
ir
=
42
;
}