summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/mpl/test/assert_vc8_p1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/mpl/test/assert_vc8_p1.cpp')
-rw-r--r--src/boost/libs/mpl/test/assert_vc8_p1.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/boost/libs/mpl/test/assert_vc8_p1.cpp b/src/boost/libs/mpl/test/assert_vc8_p1.cpp
new file mode 100644
index 00000000..2883135a
--- /dev/null
+++ b/src/boost/libs/mpl/test/assert_vc8_p1.cpp
@@ -0,0 +1,23 @@
+
+// Copyright Robin Linden 2018
+//
+// 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)
+//
+// See http://www.boost.org/libs/mpl for documentation.
+
+// $Id$
+// $Date$
+// $Revision$
+
+// Part of a test to demonstrate a linking error with
+// BOOST_MPL_ASSERT_MSG inside of functions under VC++8.
+
+#include "assert_vc8.hpp"
+
+static bool a = func<int>();
+
+int main()
+{
+}