// Test that objective-c++ does not confuse a template parameter named 'Object' // with an interface of the same name. // Author: Fariborz Jahanian // { dg-do compile } // { dg-options "" } typedef struct objc_class *Class; @interface Object { Class isa; } @end template struct pyobject_type { static Object* checked_downcast(Object* x) { return x; } };