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