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