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