[X86] Move getGFNICtrlMask before CTLZ/CTTZ lowering. NFC.
[llvm-project.git] / clang / test / SemaCXX / ms-iunknown-outofline-def.cpp
blobb6e74d0eb6043e730a61d8d3a1c829f2af6f45ba
1 // RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions %s
3 struct __declspec(uuid("00000000-0000-0000-C000-000000000046")) IUnknown {
4 void foo();
5 };
7 __interface NoError : public IUnknown {};
8 void IUnknown::foo() {}
9 // expected-error@+1{{interface type cannot inherit from}}
10 __interface HasError : public IUnknown {};