// RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions %s
extern "C++" ;
;
;
__interface ISfFileIOPropertyPage : public IPropertyPage ;
// expected-error@+1 {{interface type cannot inherit from}}
__interface IPropertyPageBase2 : public NS::IUnknown ;
__interface temp_iface ;
;
// expected-error@+1 {{interface type cannot inherit from}}
__interface bad_inherit : public bad_base;
;
// expected-error@+1 {{interface type cannot inherit from}}
__interface bad_inherit2 : public mult_inher_base;
;
;
;
__interface PropertyPage : public Page4 ;
;
// expected-error@+1 {{interface type cannot inherit from}}
__interface PropertyPage2 : public Page5 ;
__interface IF1 ;
__interface PP : IUnknown, IF1;
__interface PP2 : PP, Page3, Page4;