about summary refs log tree commit diff
path: root/REORG.TODO/elf/tst-tls11.c
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/elf/tst-tls11.c')
-rw-r--r--REORG.TODO/elf/tst-tls11.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/REORG.TODO/elf/tst-tls11.c b/REORG.TODO/elf/tst-tls11.c
new file mode 100644
index 0000000000..a5c3dd70b0
--- /dev/null
+++ b/REORG.TODO/elf/tst-tls11.c
@@ -0,0 +1,28 @@
+#include "tst-tls10.h"
+
+#define CHECK(N, S)					\
+  p = f##N##a ();					\
+  if (p->a != S || p->b != S + 1 || p->c != S + 2)	\
+    abort ()
+
+static int
+do_test (void)
+{
+  struct A *p;
+  check1 ();
+  check2 ();
+  CHECK (1, 4);
+  CHECK (2, 22);
+  CHECK (3, 10);
+  CHECK (4, 25);
+  CHECK (5, 16);
+  CHECK (6, 19);
+  CHECK (7, 22);
+  CHECK (8, 25);
+  CHECK (9, 28);
+  CHECK (10, 31);
+
+  exit (0);
+}
+
+#include <support/test-driver.c>