summaryrefslogtreecommitdiff
path: root/tools/build/v2/test/direct-request-test/b_inverse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/v2/test/direct-request-test/b_inverse.cpp')
-rw-r--r--tools/build/v2/test/direct-request-test/b_inverse.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/build/v2/test/direct-request-test/b_inverse.cpp b/tools/build/v2/test/direct-request-test/b_inverse.cpp
new file mode 100644
index 0000000000..5068f6118a
--- /dev/null
+++ b/tools/build/v2/test/direct-request-test/b_inverse.cpp
@@ -0,0 +1,22 @@
+// Copyright (c) 2003 Vladimir Prus
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+//
+// http://www.boost.org
+//
+
+// This file will declare 'foo' is 'MACROS' is NOT defined.
+
+#ifndef MACROS
+void
+# ifdef _WIN32
+__declspec(dllexport)
+# endif
+foo() {}
+#endif
+
+# ifdef _WIN32
+int __declspec(dllexport) force_implib_creation;
+# endif