summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-09-04 23:48:47 +0000
committerHans Wennborg <hans@hanshq.net>2014-09-04 23:48:47 +0000
commit83233940170809775ff5dccacc83e46aa795629a (patch)
treefa41545fd2daa5fa0ffe6681736cefc4a949fe54 /clang
parent2a07c96737393f516176916473e958a93a54f398 (diff)
downloadbcm5719-llvm-83233940170809775ff5dccacc83e46aa795629a.tar.gz
bcm5719-llvm-83233940170809775ff5dccacc83e46aa795629a.zip
clang/test/CXX/drs/dr5xx.cpp: Suppress dr547 also for MinGW
This is a follow-up to r216841. llvm-svn: 217204
Diffstat (limited to 'clang')
-rw-r--r--clang/test/CXX/drs/dr5xx.cpp3
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> {};
OpenPOWER on IntegriCloud