1 /* { dg-do compile } */
2 /* { dg-require-effective-target tls } */
3 /* { dg-options "-O3 -std=gnu99" } */
5 /* Check if addressing the `pos` member of struct is done via tls
8 struct callchain_cursor
{
12 void fn1(struct callchain_cursor
*p1
)
17 extern void fn3 (void);
20 struct callchain_cursor
*b
= &a
;
26 /* { dg-final { scan-assembler "r25,@a@tpoff" } } */