xref: /freebsd/tools/regression/tls/libxx/xx.c (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1 
2 extern int __thread yy1;
3 int __thread xx1 = 1;
4 int __thread xx2 = 2;
5 int __thread xxa[10] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
6 
7 int
8 xxyy()
9 {
10 	return yy1;
11 }
12