blob: 3e3d03a32ece9c3db41d274d9271516567176ca6 [file] [log] [blame]
struct s
{
int i[18];
char f;
char b[2];
};
struct s s1;
int
main()
{
struct s s2;
s2.b[0] = 100;
__builtin_memcpy(&s2, &s1, ((unsigned int) &((struct s *)0)->b));
if (s2.b[0] != 100)
abort();
exit(0);
}