aboutsummaryrefslogtreecommitdiff
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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Sema/attr-selectany.c b/test/Sema/attr-selectany.c
index 9fa2fcade539..9d574d524f0a 100644
--- a/test/Sema/attr-selectany.c
+++ b/test/Sema/attr-selectany.c
@@ -1,5 +1,7 @@
// RUN: %clang_cc1 -triple x86_64-win32 -fdeclspec -verify %s
// RUN: %clang_cc1 -triple x86_64-mingw32 -verify %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux -verify -fdeclspec %s
+// RUN: %clang_cc1 -triple x86_64-win32-macho -verify -fdeclspec %s
extern __declspec(selectany) const int x1 = 1; // no warning, const means we need extern in C++