1d0792de17387e949c27f97a5fa4a0b3e82db9b1eDouglas Gregor// RUN: rm -rf %t 2953a61f26bf79932b9699b09add4c388764de170Douglas Gregor// RUN: %clang -fmodules-cache-path=%t -fmodules -x objective-c -I %S/Inputs -emit-ast -o %t.ast %s 3a0d5878b7e1c54551c0445354788e4259900c03cDavid Tweed// RUN: %clang_cc1 -ast-print -x ast - < %t.ast | FileCheck %s 4d0792de17387e949c27f97a5fa4a0b3e82db9b1eDouglas Gregor 51b257afbae854c6817f26b7d61c4fed8ff7aebadDouglas Gregor@import import_decl; 6d0792de17387e949c27f97a5fa4a0b3e82db9b1eDouglas Gregor// CHECK: struct T 7d0792de17387e949c27f97a5fa4a0b3e82db9b1eDouglas Gregor 8d0792de17387e949c27f97a5fa4a0b3e82db9b1eDouglas Gregorint main() { 9d0792de17387e949c27f97a5fa4a0b3e82db9b1eDouglas Gregor return 0; 10d0792de17387e949c27f97a5fa4a0b3e82db9b1eDouglas Gregor} 11a5ba7b405dff48a5a0a63fff32c99eedb044842bDouglas Gregor 12a5ba7b405dff48a5a0a63fff32c99eedb044842bDouglas Gregor// <rdar://problem/15084587> 13a5ba7b405dff48a5a0a63fff32c99eedb044842bDouglas Gregor@interface A 14a5ba7b405dff48a5a0a63fff32c99eedb044842bDouglas Gregor-method; 15a5ba7b405dff48a5a0a63fff32c99eedb044842bDouglas Gregor@end 16a5ba7b405dff48a5a0a63fff32c99eedb044842bDouglas Gregor 17a5ba7b405dff48a5a0a63fff32c99eedb044842bDouglas Gregorvoid testImport(A *import) { 18a5ba7b405dff48a5a0a63fff32c99eedb044842bDouglas Gregor [import method]; 19a5ba7b405dff48a5a0a63fff32c99eedb044842bDouglas Gregor} 20