1 #include "B.h" // -*- ObjC -*- 2 3 typedef int Typedef; 4 5 struct TopLevelStruct { 6 int a; 7 }; 8 9 typedef struct Struct_s { 10 int a; 11 } Struct; 12 13 struct Nested { 14 StructB fromb; 15 }; 16 17 typedef enum Enum_e { a = 0 } Enum; 18 19 @interface SomeClass { 20 } property(readonly)21@property (readonly) int number; 22 @end 23 24 template <typename T> struct Template { T field; }; 25 extern template struct Template<int>; 26 27 namespace Namespace { 28 template <typename T> struct InNamespace { T field; }; 29 extern template struct InNamespace<int>; 30 } 31