blob: 70f1107c2e31832d1ebfc5b72c586ecad70d5f27 [file] [log] [blame]
// RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions %s
struct __declspec(uuid("00000000-0000-0000-C000-000000000046")) IUnknown {
void foo() {}
};
// expected-error@+1{{interface type cannot inherit from}}
__interface HasError : public IUnknown {};