From cab3795047870ccc3a9d124e8b940e47d062a7c6 Mon Sep 17 00:00:00 2001 From: Matthew Sotoudeh Date: Wed, 26 Jul 2023 15:15:53 -0700 Subject: fix bug in printing type decls --- tests/typedef_struct_ptr.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/typedef_struct_ptr.c (limited to 'tests') diff --git a/tests/typedef_struct_ptr.c b/tests/typedef_struct_ptr.c new file mode 100644 index 0000000..c5cb16d --- /dev/null +++ b/tests/typedef_struct_ptr.c @@ -0,0 +1,7 @@ +typedef struct ll *ll_p; + +struct ll { + ll_p next; +}; + +extern ll_p xyz; -- cgit v1.2.3