| // RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions %s |
| // expected-no-diagnostics |
| typedef unsigned long ULONG; |
| // remove stdcall, since the warnings have nothing to do with |
| struct __declspec(uuid("00000000-0000-0000-C000-000000000046")) |
| virtual HRESULT __stdcall QueryInterface( |
| virtual ULONG __stdcall AddRef(void) = 0; |
| virtual ULONG __stdcall Release(void) = 0; |
| HRESULT __stdcall QueryInterface(Q **pp) { |
| return QueryInterface(__uuidof(Q), (void **)pp); |
| __interface ISfFileIOPropertyPage : public IUnknown{}; |