xref: /freebsd/tools/regression/tls/libxx/xx.c (revision 252884ae7e4760f0e3cb45fdc2fff8fb952251ae)
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