19 lines · cpp
1// RUN: rm -rf %t2// RUN: %clang -fmodules-cache-path=%t -fmodules -x objective-c -I %S/Inputs -emit-ast -o %t.ast %s3// RUN: %clang_cc1 -ast-print -x ast - < %t.ast | FileCheck %s4 5@import import_decl;6// CHECK: struct T7 8int main(void) {9 return 0;10}11 12@interface A13-method;14@end15 16void testImport(A *import) {17 [import method];18}19