1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-fPIC" } */
4 struct normal_encoding
{};
5 struct unknown_encoding
{};
6 static const struct normal_encoding latin1_encoding
= {};
9 XmlInitUnknownEncoding(void *mem
)
12 struct unknown_encoding
*e
= mem
;
13 for (i
= 0; i
< sizeof(struct normal_encoding
); i
++)
14 ((char *)mem
)[i
] = ((char *)&latin1_encoding
)[i
];