1 // RUN: %clang_cc1 -fblocks -rewrite-objc -fms-extensions %s -o %t-rw.cpp
2 // RUN: %clang_cc1 -Werror -fsyntax-only -Wno-address-of-temporary -Wno-c++11-narrowing -std=c++11 -D"Class=void*" -D"id=void*" -D"SEL=void*" -U__declspec -D"__declspec(X)=" %t-rw.cpp
12 struct OUTSIDE ivar_I1;
19 struct INNER_I1 ivar_I2;
21 struct OUTSIDE ivar_I3;
37 ivar_I1.i_OUTSIDE = 0;
39 ivar_I2.i_INNER_I1 = 1;
41 ivar_I3.i_OUTSIDE = 2;
43 NONAME_I4.i_noname = 3;
45 NONAME_I5.i_noname = 4;
51 struct OUTSIDE ivar_INTF2;
59 struct OUTSIDE ivar_INTF3;
61 struct INNER_I1 ivar_INTF4;
73 struct INNER_INTF2 ivar_INTF6, ivar_INTF7;
84 ivar_INTF2.i_OUTSIDE = 0;
86 ivar_INTF4.i_INNER_I1 = 1;
88 ivar_INTF3.i_OUTSIDE = 2;
90 NONAME_INTF4.i_noname = 3;
92 NONAME_INTF5.i_noname = 4;
93 ivar_INTF6.i_INNER_INTF2 = 5;
94 ivar_INTF7.i_INNER_INTF2 = 5;
95 X1.i = X2.i = X3.i = 1;