blob: aadfb288f3fa248fe1c2972da826c85930044451 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-require-effective-target tls_native } */
__thread struct
{
int a;
char b[32];
} thr;
int
main ()
{
__builtin_strcpy (thr.b, "abcd");
return 0;
}
|