r217204 - clang/test/CXX/drs/dr5xx.cpp: Suppress dr547 also for MinGW
Hans Wennborg
hans at hanshq.net
Thu Sep 4 16:48:47 PDT 2014
Author: hans
Date: Thu Sep 4 18:48:47 2014
New Revision: 217204
URL: http://llvm.org/viewvc/llvm-project?rev=217204&view=rev
Log:
clang/test/CXX/drs/dr5xx.cpp: Suppress dr547 also for MinGW
This is a follow-up to r216841.
Modified:
cfe/trunk/test/CXX/drs/dr5xx.cpp
Modified: cfe/trunk/test/CXX/drs/dr5xx.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/drs/dr5xx.cpp?rev=217204&r1=217203&r2=217204&view=diff
==============================================================================
--- cfe/trunk/test/CXX/drs/dr5xx.cpp (original)
+++ cfe/trunk/test/CXX/drs/dr5xx.cpp Thu Sep 4 18:48:47 2014
@@ -517,7 +517,8 @@ namespace dr546 { // dr546: yes
template<typename T> void A<T>::f() { T::error; }
}
-#if !defined(_M_IX86) // This is incompatible to attribute(thiscall).
+// This is incompatible to attribute(thiscall).
+#if !defined(_M_IX86) && !defined(__MINGW32__) && !defined(__MINGW64__)
namespace dr547 { // d547: yes
template<typename T> struct X;
template<typename T> struct X<T() const> {};
More information about the cfe-commits
mailing list