This is a follow-up to r216841.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@217204
91177308-0d34-0410-b5e6-
96231b3b80d8
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> {};