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 | static int |
9 | do_test (void) |
10 | { |
11 | struct A *p; |
12 | check1 (); |
13 | CHECK (1, 4); |
14 | CHECK (2, 7); |
15 | |
16 | exit (status: 0); |
17 | } |
18 | |
19 | #include <support/test-driver.c> |
20 |