summaryrefslogtreecommitdiff
path: root/test/SemaCXX/PR19955.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/PR19955.cpp')
-rw-r--r--test/SemaCXX/PR19955.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/SemaCXX/PR19955.cpp b/test/SemaCXX/PR19955.cpp
index fb1d74631b..cbbe2fe9af 100644
--- a/test/SemaCXX/PR19955.cpp
+++ b/test/SemaCXX/PR19955.cpp
@@ -1,4 +1,5 @@
-// RUN: %clang_cc1 -triple i686-win32 -fms-compatibility -verify -std=c++11 %s
+// RUN: %clang_cc1 -triple i686-win32 -verify -std=c++11 %s
+// RUN: %clang_cc1 -triple i686-mingw32 -verify -std=c++11 %s
extern int __attribute__((dllimport)) var;
constexpr int *varp = &var; // expected-error {{must be initialized by a constant expression}}