Last change
on this file since 2036 was 2036, checked in by bird, 20 years ago |
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
259 bytes
|
Line | |
---|
1 | #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 |
|
---|
8 | int
|
---|
9 | main (void)
|
---|
10 | {
|
---|
11 | #ifdef USE_TLS__THREAD
|
---|
12 | struct A *p;
|
---|
13 | check1 ();
|
---|
14 | CHECK (1, 4);
|
---|
15 | CHECK (2, 7);
|
---|
16 | #endif
|
---|
17 | exit (0);
|
---|
18 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.