blob: 8093894b9355982ca47e6ce7c29a23841eae88a2 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#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
8static int
9do_test (void)
10{
11 struct A *p;
12 check1 ();
13 CHECK (1, 4);
14 CHECK (2, 7);
15
16 exit (0);
17}
18
19#define TEST_FUNCTION do_test ()
20#include "../test-skeleton.c"