diff options
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/test/CXX/drs/dr5xx.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/CXX/drs/dr5xx.cpp b/clang/test/CXX/drs/dr5xx.cpp index d7c8fa42830..de98c396954 100644 --- a/clang/test/CXX/drs/dr5xx.cpp +++ b/clang/test/CXX/drs/dr5xx.cpp @@ -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> {}; |

