1 /* Test that both arrays are initialized by store_by_pieces. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 struct A
{ char c
[10]; };
6 extern void baz (struct A
*);
11 struct A a
= { "abcdefghi" };
19 __builtin_strcpy (&a
.c
[0], "abcdefghi");
23 /* { dg-final { scan-assembler-not "abcdefghi" { target i?86-*-* x86_64-*-* ia64-*-* } } } */
24 /* { dg-final { scan-assembler-times "7523094288207667809\|6867666564636261\|1684234849\|64636261" 2 { target i?86-*-* x86_64-*-* ia64-*-* } } } */