summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/undefined-inline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/undefined-inline.cpp')
-rw-r--r--test/SemaCXX/undefined-inline.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/SemaCXX/undefined-inline.cpp b/test/SemaCXX/undefined-inline.cpp
index ad719ae..18973ef 100644
--- a/test/SemaCXX/undefined-inline.cpp
+++ b/test/SemaCXX/undefined-inline.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -triple i686-pc-win32 -verify %s
// PR14993
namespace test1 {
@@ -55,3 +55,9 @@ namespace test10 {
void test() { foo(); }
inline void foo() __attribute__((gnu_inline));
}
+
+namespace test11 {
+ inline void foo() __attribute__((dllexport));
+ inline void bar() __attribute__((dllimport));
+ void test() { foo(); bar(); }
+}
OpenPOWER on IntegriCloud