aboutsummaryrefslogtreecommitdiff
path: root/tests/local-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/local-init.c')
-rw-r--r--tests/local-init.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/local-init.c b/tests/local-init.c
new file mode 100644
index 0000000..0e886d7
--- /dev/null
+++ b/tests/local-init.c
@@ -0,0 +1,6 @@
+void f(void) {
+ struct {
+ char c[8];
+ long long i[3];
+ } s = {'a'};
+}