New test.
From-SVN: r32075
This commit is contained in:
parent
a0ec56b70d
commit
4a6cfa6347
2 changed files with 15 additions and 0 deletions
|
@ -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
|
||||
|
|
11
gcc/testsuite/gcc.c-torture/compile/init-3.c
Normal file
11
gcc/testsuite/gcc.c-torture/compile/init-3.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
struct empty { };
|
||||
struct something {
|
||||
int spacer;
|
||||
struct empty foo;
|
||||
int bar;
|
||||
};
|
||||
|
||||
struct something X = {
|
||||
foo: (struct empty) { },
|
||||
bar: 1,
|
||||
};
|
Loading…
Add table
Reference in a new issue