summaryrefslogtreecommitdiffstats
path: root/trunk/testsuite/tls4.c
blob: 0882f07bd9fc7290f8b49310450ecc273c855cd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "tls1.h"
#include <stdlib.h>

#define CHECK(N, S)					\
  p = &a##N;						\
  if (p->a != S || p->b != S + 1 || p->c != S + 2)	\
    abort ()

int main()
{
  struct A *p;
  check1 ();
  CHECK (1, 4);
  CHECK (2, 7);
  exit (0);
}