1// UNSUPPORTED: -zos, -aix
2// RUN: clang-import-test -x objective-c++ -import %S/Inputs/S1.m --import %S/Inputs/S2.m --import %S/Inputs/S3.m -expression %s
3void expr() {
4  MyClass *c = [MyClass fromInteger:3];
5  const int i = [c getInteger];
6  const int j = c->j;
7}
8