Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
fd31098434d7933a0471183f342473d1fb02389d
/
.
/
gcc
/
testsuite
/
g++.dg
/
tls
/
thread_local7g.C
blob: 0fdfe7ef991e13191391944af1d527f3fd777077 [
file
] [
log
] [
blame
]
// { 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 } } }
thread_local
int
&&
ir
=
42
;
void
f
()
{
ir
=
24
;
}