summary refs log tree commit diff
path: root/elf/tst-tls12.c
blob: ccd5f8b43e444d7bf2ee478a167c4e077346f443 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "tst-tls10.h"

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

static int
do_test (void)
{
  struct A *p;
  check1 ();
  CHECK (1, 4);
  CHECK (2, 7);

  exit (0);
}

#include <support/test-driver.c>