1 #include "def-include.h" 2 3 4 5 @interface A { 6 @public 7 int ivar; 8 } 9 @end 10 11 @interface Def 12 - defMethod; 13 @end 14 15 #ifdef __cplusplus 16 class Def2 { 17 public: 18 void func(); 19 }; 20 21 namespace Def3NS { 22 class Def3 { 23 public: 24 void func(); 25 }; 26 } 27 #endif 28