]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tls/opt-9.c
cc62ef57a5dfd0ff41346a063bd33e811e284c3a
3 /* { dg-options "-O2 -fPIC" } */
4 /* { dg-require-effective-target tls } */
6 struct S
{ int x
[10]; };
7 extern __thread
struct S s
;
8 int *foo() { return &s
.x
[2]; }