From: NAKAMURA Takumi Date: Sat, 30 Sep 2017 09:16:41 +0000 (+0000) Subject: clang/test/SemaCXX/ms-iunknown-template-function.cpp: Appease for targeting *-win32. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=05083095a0a8730ad27117ef1f516f47be9bdf2c;p=clang clang/test/SemaCXX/ms-iunknown-template-function.cpp: Appease for targeting *-win32. This expects the warning; File clang/test/SemaCXX/ms-iunknown-template-function.cpp Line 19: __declspec attribute 'novtable' is not supported But for targeting *-win32, the warning is not seen. error: 'warning' diagnostics expected but not seen: File clang\test\SemaCXX\ms-iunknown-template-function.cpp Line 19 (directive at clang\test\SemaCXX\ms-iunknown-template-function.cpp:18): __declspec attribute 'novtable' git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314586 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaCXX/ms-iunknown-template-function.cpp b/test/SemaCXX/ms-iunknown-template-function.cpp index dc192238fb..5e0bd09fd8 100644 --- a/test/SemaCXX/ms-iunknown-template-function.cpp +++ b/test/SemaCXX/ms-iunknown-template-function.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions %s +// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fsyntax-only -verify -fms-extensions %s typedef long HRESULT; typedef unsigned long ULONG; typedef struct _GUID {