summaryrefslogtreecommitdiff
path: root/tests/typedef_struct_ptr.c
diff options
context:
space:
mode:
authorMatthew Sotoudeh <matthew@masot.net>2023-07-26 15:15:53 -0700
committerMatthew Sotoudeh <matthew@masot.net>2023-07-26 15:15:53 -0700
commitcab3795047870ccc3a9d124e8b940e47d062a7c6 (patch)
tree8eac2a7dd5fa32e50183f58eb817f3ce0b1383f6 /tests/typedef_struct_ptr.c
parentf35b7e32809c5d54850ce75c4dad1a8598235cf0 (diff)
fix bug in printing type decls
Diffstat (limited to 'tests/typedef_struct_ptr.c')
-rw-r--r--tests/typedef_struct_ptr.c7
1 files changed, 7 insertions, 0 deletions
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;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback