summaryrefslogtreecommitdiff
path: root/test/Sema/attr-selectany.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/attr-selectany.c')
-rw-r--r--test/Sema/attr-selectany.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Sema/attr-selectany.c b/test/Sema/attr-selectany.c
index 01cca7d7cfa52..9fa2fcade539f 100644
--- a/test/Sema/attr-selectany.c
+++ b/test/Sema/attr-selectany.c
@@ -1,4 +1,5 @@
-// RUN: %clang_cc1 -fms-compatibility -fms-extensions -verify %s
+// RUN: %clang_cc1 -triple x86_64-win32 -fdeclspec -verify %s
+// RUN: %clang_cc1 -triple x86_64-mingw32 -verify %s
extern __declspec(selectany) const int x1 = 1; // no warning, const means we need extern in C++