Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/tools/regression/tls/ttls1/ttls1.c
48253 views
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
16