diff options
Diffstat (limited to 'tests/initializer-replace-static.c')
-rw-r--r-- | tests/initializer-replace-static.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/initializer-replace-static.c b/tests/initializer-replace-static.c new file mode 100644 index 0000000..c1fa376 --- /dev/null +++ b/tests/initializer-replace-static.c @@ -0,0 +1,6 @@ +struct { + char s[6]; +} x = { + .s = "hello", + .s[1] = 'a', +}; |