summaryrefslogtreecommitdiff
path: root/test/regression/types1.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/regression/types1.c')
-rw-r--r--test/regression/types1.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/regression/types1.c b/test/regression/types1.c
new file mode 100644
index 0000000..c05e30d
--- /dev/null
+++ b/test/regression/types1.c
@@ -0,0 +1,15 @@
+/* Printing of modifiers */
+
+typedef struct vba_version_tag {
+ unsigned char signature[4];
+ const char *name;
+ int is_mac;
+} vba_version_t;
+
+static const vba_version_t vba_version[10];
+
+int f(int x)
+{
+ return sizeof(vba_version[0].signature);
+}
+