aboutsummaryrefslogtreecommitdiffstats
path: root/test/export/issue216.c
diff options
context:
space:
mode:
authorDavid Monniaux <David.Monniaux@univ-grenoble-alpes.fr>2021-09-27 16:39:45 +0200
committerDavid Monniaux <David.Monniaux@univ-grenoble-alpes.fr>2021-09-27 16:39:45 +0200
commit6b897598b16912661bc681f8e60428de6ad2018a (patch)
treed4d1f419f0d6ba31c920e6094880c87872eb5d36 /test/export/issue216.c
parent6724caf710b236a7cbff34c085224467a7eb7839 (diff)
parent627ab2dbe51decddff281d986367d0790643dd40 (diff)
downloadcompcert-kvx-6b897598b16912661bc681f8e60428de6ad2018a.tar.gz
compcert-kvx-6b897598b16912661bc681f8e60428de6ad2018a.zip
Merge branch 'master' of https://github.com/AbsInt/CompCert into towards_3.10
Diffstat (limited to 'test/export/issue216.c')
-rw-r--r--test/export/issue216.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/export/issue216.c b/test/export/issue216.c
new file mode 100644
index 00000000..796b69b4
--- /dev/null
+++ b/test/export/issue216.c
@@ -0,0 +1,5 @@
+#include <stddef.h>
+
+struct list {unsigned head; struct list *tail;};
+struct list three[] = { {1, three+1}, {2, three+2}, {3, NULL} };
+int f(int x) { return x;}