summaryrefslogtreecommitdiff
path: root/libs/functional/hash/test/deprecated_container_fwd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/functional/hash/test/deprecated_container_fwd.cpp')
-rw-r--r--libs/functional/hash/test/deprecated_container_fwd.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/libs/functional/hash/test/deprecated_container_fwd.cpp b/libs/functional/hash/test/deprecated_container_fwd.cpp
new file mode 100644
index 0000000000..1c6e12b7da
--- /dev/null
+++ b/libs/functional/hash/test/deprecated_container_fwd.cpp
@@ -0,0 +1,14 @@
+
+// Copyright 2012 Daniel James.
+// 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)
+
+#include <boost/functional/detail/container_fwd.hpp>
+
+typedef std::vector<int, std::allocator<int> > int_vector;
+
+#include <vector>
+
+int main() {
+ int_vector x;
+}