Commit 3c602fcb by Jeffrey A Law Committed by Jeff Law

* gcc.dg/990213-2.c: New test.

From-SVN: r25180
parent 43cffd11
Sat Feb 13 00:43:52 1999 Jeffrey A Law (law@cygnus.com)
* gcc.dg/990213-2.c: New test.
* gcc.dg/990213-1.c: New test.
Fri Feb 12 11:04:35 1999 Jeffrey A Law (law@cygnus.com)
......
/* { dg-do compile { target i?86-*-* } } */
/* { dg-options "-fPIC" } */
struct normal_encoding {};
struct unknown_encoding {};
static const struct normal_encoding latin1_encoding = {};
struct encoding*
XmlInitUnknownEncoding(void *mem)
{
int i;
struct unknown_encoding *e = mem;
for (i = 0; i < sizeof(struct normal_encoding); i++)
((char *)mem)[i] = ((char *)&latin1_encoding)[i];
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment