Closed out a few radars that were addressed by designated initializers

llvm-svn: 63398
This commit is contained in:
Douglas Gregor 2009-01-30 17:42:28 +00:00
parent 1958677ccf
commit d5576dee1c
1 changed files with 16 additions and 0 deletions

View File

@ -80,3 +80,19 @@ struct s1 s2 = {
// PR3382
char t[] = ("Hello");
// <rdar://problem/6094855>
typedef struct { } empty;
typedef struct {
empty e;
int i2;
} st;
st st1 = { .i2 = 1 };
// <rdar://problem/6096826>
struct {
int a;
int z[2];
} y = { .z = {} };