xref: /netbsd-src/external/gpl3/gdb/dist/libctf/testsuite/libctf-lookup/add-to-opened-ctf.c (revision c9055873d0546e63388f027d3d7f85381cde0545)
1*c9055873Schristos int an_int;
2*c9055873Schristos char *a_char_ptr;
3*c9055873Schristos typedef int (*a_typedef) (int main);
4*c9055873Schristos struct struct_forward;
5*c9055873Schristos enum enum_forward;
6*c9055873Schristos union union_forward;
7*c9055873Schristos typedef int an_array[50];
8*c9055873Schristos struct a_struct { int foo; };
9*c9055873Schristos union a_union { int bar; };
10*c9055873Schristos enum an_enum { FOO };
11*c9055873Schristos 
12*c9055873Schristos a_typedef a;
13*c9055873Schristos struct struct_forward *x;
14*c9055873Schristos union union_forward *y;
15*c9055873Schristos enum enum_forward *z;
16*c9055873Schristos struct a_struct *xx;
17*c9055873Schristos union a_union *yy;
18*c9055873Schristos enum an_enum *zz;
19*c9055873Schristos an_array ar;
20