Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gcc.dg
/
debug
/
pr65771.c
blob: 6dea7c51a13a2a69c40af244956df334f12be2c8 [
file
] [
log
] [
blame
]
/* PR debug/65771 */
/* { dg-do link } */
/* { dg-require-effective-target tls_runtime } */
/* { dg-add-options tls } */
struct
S
{
int
s
;
int
t
;
};
__thread
struct
S a
[
10
];
int
b
;
int
main
()
{
int
c
=
a
[
b
].
t
;
(
void
)
c
;
return
0
;
}