]>
Commit | Line | Data |
---|---|---|
94c24227 UD |
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 | ||
29955b5d AS |
8 | static int |
9 | do_test (void) | |
94c24227 | 10 | { |
94c24227 UD |
11 | struct A *p; |
12 | check1 (); | |
13 | CHECK (1, 4); | |
14 | CHECK (2, 7); | |
3ce1f295 | 15 | |
94c24227 UD |
16 | exit (0); |
17 | } | |
29955b5d | 18 | |
36fe25fd | 19 | #include <support/test-driver.c> |