aboutsummaryrefslogtreecommitdiff
path: root/libctf/testsuite/libctf-regression/gzrewrite-ctf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libctf/testsuite/libctf-regression/gzrewrite-ctf.c')
-rw-r--r--libctf/testsuite/libctf-regression/gzrewrite-ctf.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/libctf/testsuite/libctf-regression/gzrewrite-ctf.c b/libctf/testsuite/libctf-regression/gzrewrite-ctf.c
new file mode 100644
index 0000000..b5d483e
--- /dev/null
+++ b/libctf/testsuite/libctf-regression/gzrewrite-ctf.c
@@ -0,0 +1,19 @@
+int an_int;
+char *a_char_ptr;
+typedef int (*a_typedef) (int main);
+struct struct_forward;
+enum enum_forward;
+union union_forward;
+typedef int an_array[50];
+struct a_struct { int foo; };
+union a_union { int bar; };
+enum an_enum { FOO };
+
+a_typedef a;
+struct struct_forward *x;
+union union_forward *y;
+enum enum_forward *z;
+struct a_struct *xx;
+union a_union *yy;
+enum an_enum *zz;
+an_array ar;