[cfe-commits] r63398 - /cfe/trunk/test/Sema/init.c
Douglas Gregor
dgregor at apple.com
Fri Jan 30 09:42:28 PST 2009
Author: dgregor
Date: Fri Jan 30 11:42:28 2009
New Revision: 63398
URL: http://llvm.org/viewvc/llvm-project?rev=63398&view=rev
Log:
Closed out a few radars that were addressed by designated initializers
Modified:
cfe/trunk/test/Sema/init.c
Modified: cfe/trunk/test/Sema/init.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/init.c?rev=63398&r1=63397&r2=63398&view=diff
==============================================================================
--- cfe/trunk/test/Sema/init.c (original)
+++ cfe/trunk/test/Sema/init.c Fri Jan 30 11:42:28 2009
@@ -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 = {} };
More information about the cfe-commits
mailing list