summaryrefslogtreecommitdiff
path: root/test/regression/init1.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/regression/init1.c')
-rw-r--r--test/regression/init1.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/regression/init1.c b/test/regression/init1.c
new file mode 100644
index 0000000..ea9db0f
--- /dev/null
+++ b/test/regression/init1.c
@@ -0,0 +1,3 @@
+/* Initializer can refer to ident just declared */
+
+struct list { int hd; struct list * tl; } circular = { sizeof(circular), &circular };