ChangeLog rotation
[deliverable/binutils-gdb.git] / gold / testsuite / pr20216_main.c
1 #include <stdlib.h>
2
3 extern int * get_gd (void);
4 extern void set_gd (int);
5 extern int test_gd (int);
6 extern int * get_ld (void);
7 extern void set_ld (int);
8 extern int test_ld (int);
9
10 int
11 main ()
12 {
13 int *p;
14
15 p = get_gd ();
16 set_gd (3);
17 if (*p != 3 || !test_gd (3))
18 abort ();
19
20 p = get_ld ();
21 set_ld (4);
22 if (*p != 4 || !test_ld (4))
23 abort ();
24
25 return 0;
26 }
This page took 0.030662 seconds and 4 git commands to generate.