New test.

From-SVN: r32075
This commit is contained in:
Richard Henderson 2000-02-20 00:28:28 -08:00 committed by Richard Henderson
parent a0ec56b70d
commit 4a6cfa6347
2 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2000-02-19 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/compile/init-3.c: New.
2000-02-17 Mark Mitchell <mark@codesourcery.com>
* lib/g++.exp (g++_init): Add -fmessage-length=0 to

View file

@ -0,0 +1,11 @@
struct empty { };
struct something {
int spacer;
struct empty foo;
int bar;
};
struct something X = {
foo: (struct empty) { },
bar: 1,
};