This commit was manufactured by cvs2svn to create branch

'gcc-3_2-branch'.

From-SVN: r61095
This commit is contained in:
No Author 2003-01-09 09:33:04 +00:00
parent 82342b16af
commit 38ec8631ae
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
/* PR c/8032 */
/* Verify that an empty initializer inside a partial
parent initializer doesn't confuse GCC. */
struct X
{
int a;
int b;
int z[];
};
struct X x = { .b = 40, .z = {} };
int main ()
{
if (x.b != 40)
abort ();
return 0;
}