]> granicus.if.org Git - clang/commitdiff
clang/test/CXX/drs/dr5xx.cpp: Suppress dr547 also for MinGW
authorHans Wennborg <hans@hanshq.net>
Thu, 4 Sep 2014 23:48:47 +0000 (23:48 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 4 Sep 2014 23:48:47 +0000 (23:48 +0000)
This is a follow-up to r216841.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@217204 91177308-0d34-0410-b5e6-96231b3b80d8

test/CXX/drs/dr5xx.cpp

index d7c8fa42830b102599e8314f08125d0a0f9c9b11..de98c396954fd05ff4e609d4d09dedde846a3427 100644 (file)
@@ -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> {};