xref: /freebsd/tools/regression/tls/ttls1/ttls1.c (revision fd45b686f9d92f583366c75b22c04c7ee49709c0)
1 
2 #include <stdio.h>
3 
4 extern int __thread xx1;
5 extern int __thread xx2;
6 extern int __thread xxa[];
7 int __thread a[10] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
8 extern int xxyy();
9 
10 int main(int argc, char** argv)
11 {
12 	printf("xx1=%d, xx2=%d, xxa[5]=%d, a[5]=%d, xxyy()=%d\n",
13 	    xx1, xx2, xxa[5], a[5], xxyy());
14 }
15