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