commit | d5576dee1c82c7ea15b62d84d09b0bae3eee364d | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Jan 30 17:42:28 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Jan 30 17:42:28 2009 +0000 |
tree | 5242bf5ec8e29f1e841c8e091072500a25a5fbda | |
parent | 1958677ccfa1dadc23490df2334cfb3db2ca53f2 [diff] [blame] |
Closed out a few radars that were addressed by designated initializers llvm-svn: 63398
diff --git a/clang/test/Sema/init.c b/clang/test/Sema/init.c index 9f08678..41ca624 100644 --- a/clang/test/Sema/init.c +++ b/clang/test/Sema/init.c
@@ -80,3 +80,19 @@ // 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 = {} };