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