Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.target / i386 / 990213-2.c
blobd095e3723f995b20506cdf681fae6fcbc2a4ce4f
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 = {};
8 struct encoding*
9 XmlInitUnknownEncoding(void *mem)
11 int i;
12 struct unknown_encoding *e = mem;
13 for (i = 0; i < sizeof(struct normal_encoding); i++)
14 ((char *)mem)[i] = ((char *)&latin1_encoding)[i];
15 return 0;