mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
3ce1f29594
Make several tool features mandatory and simplify the code.
18 lines
230 B
C
18 lines
230 B
C
#include "tst-tls10.h"
|
|
|
|
#define CHECK(N, S) \
|
|
p = &a##N; \
|
|
if (p->a != S || p->b != S + 1 || p->c != S + 2) \
|
|
abort ()
|
|
|
|
int
|
|
main (void)
|
|
{
|
|
struct A *p;
|
|
check1 ();
|
|
CHECK (1, 4);
|
|
CHECK (2, 7);
|
|
|
|
exit (0);
|
|
}
|