From fcdf09e04be8186727e042a7cb8fb9746ef3db95 Mon Sep 17 00:00:00 2001 From: Erich Keane Date: Mon, 2 Oct 2017 16:49:32 +0000 Subject: [PATCH] Update IUnknown lit test to pass on Win32 llvm-svn: 314687 --- clang/test/SemaCXX/ms-iunknown-template-function.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clang/test/SemaCXX/ms-iunknown-template-function.cpp b/clang/test/SemaCXX/ms-iunknown-template-function.cpp index 5e0bd09..8f741a1 100644 --- a/clang/test/SemaCXX/ms-iunknown-template-function.cpp +++ b/clang/test/SemaCXX/ms-iunknown-template-function.cpp @@ -1,4 +1,5 @@ -// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fsyntax-only -verify -fms-extensions %s +// RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions %s +// expected-no-diagnostics typedef long HRESULT; typedef unsigned long ULONG; typedef struct _GUID { @@ -15,8 +16,7 @@ typedef GUID IID; extern "C" { extern "C++" { -// expected-warning@+1 {{__declspec attribute 'novtable'}} -struct __declspec(uuid("00000000-0000-0000-C000-000000000046")) __declspec(novtable) +struct __declspec(uuid("00000000-0000-0000-C000-000000000046")) IUnknown { public: virtual HRESULT __stdcall QueryInterface( -- 2.7.4