llvm-for-llvmta/tools/clang/test/Import/forward-declared-objc-class/test.m

7 lines
239 B
Mathematica
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: clang-import-test -x objective-c++ -import %S/Inputs/S1.m --import %S/Inputs/S2.m --import %S/Inputs/S3.m -expression %s
void expr() {
MyClass *c = [MyClass fromInteger:3];
const int i = [c getInteger];
const int j = c->j;
}