1// RUN: clang-import-test -x objective-c++ -import %S/Inputs/S.m -expression %s
2@class D;
3
4@interface B {
5 int x;
6 int y;
7}
8@end
9
10@interface D : B {
11 int z;
12}
13-(int)n;
14@end
15
16void expr() {
17 C *c;
18 int i = [c m];
19 D *d;
20 int j = [d n] + d->x;
21}
22