r284352 - clang/test/CXX/conv/conv.fctptr/p1.cpp: Appease for targeting i686-win32.

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 16 16:00:18 PDT 2016


Author: chapuni
Date: Sun Oct 16 18:00:18 2016
New Revision: 284352

URL: http://llvm.org/viewvc/llvm-project?rev=284352&view=rev
Log:
clang/test/CXX/conv/conv.fctptr/p1.cpp: Appease for targeting i686-win32.

  error: 'error' diagnostics seen but not expected:
    File clang\test\CXX\conv\conv.fctptr\p1.cpp Line 16: assigning to 'void (S::*)() __attribute__((thiscall)) noexcept' from incompatible type 'void (S::*)() __attribute__((thiscall))': different exception specifications

Modified:
    cfe/trunk/test/CXX/conv/conv.fctptr/p1.cpp

Modified: cfe/trunk/test/CXX/conv/conv.fctptr/p1.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/conv/conv.fctptr/p1.cpp?rev=284352&r1=284351&r2=284352&view=diff
==============================================================================
--- cfe/trunk/test/CXX/conv/conv.fctptr/p1.cpp (original)
+++ cfe/trunk/test/CXX/conv/conv.fctptr/p1.cpp Sun Oct 16 18:00:18 2016
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++1z -verify %s
+// RUN: %clang_cc1 -std=c++1z -verify %s -triple x86_64-unknown-unknown
 
 struct S;
 




More information about the cfe-commits mailing list