Set constructor/destructor priority to 1000
[platform/upstream/glibc.git] / elf / tst-tls12.c
1 #include "tst-tls10.h"
2
3 #define CHECK(N, S)                                     \
4   p = &a##N;                                            \
5   if (p->a != S || p->b != S + 1 || p->c != S + 2)      \
6     abort ()
7
8 int
9 main (void)
10 {
11   struct A *p;
12   check1 ();
13   CHECK (1, 4);
14   CHECK (2, 7);
15
16   exit (0);
17 }