This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'. From-SVN: r61095
This commit is contained in:
parent
82342b16af
commit
38ec8631ae
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue