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