summaryrefslogtreecommitdiffstats
path: root/Tests/FindBoost/TestHeaders/main.cxx
diff options
context:
space:
mode:
authorRoger Leigh <r.leigh@dundee.ac.uk>2016-04-17 15:24:51 (GMT)
committerRoger Leigh <r.leigh@dundee.ac.uk>2016-04-19 21:07:45 (GMT)
commit2c1b720e643aafd725a8c0be11913834704d7269 (patch)
tree99f5db85aeb07ccab6b934aa54e56a2d224e11f0 /Tests/FindBoost/TestHeaders/main.cxx
parent7d4c99a957b37e6905af3fe6ea96b7fdf2b8359c (diff)
downloadCMake-2c1b720e643aafd725a8c0be11913834704d7269.zip
CMake-2c1b720e643aafd725a8c0be11913834704d7269.tar.gz
CMake-2c1b720e643aafd725a8c0be11913834704d7269.tar.bz2
FindBoost: Define Boost::boost for all boost versions
Diffstat (limited to 'Tests/FindBoost/TestHeaders/main.cxx')
-rw-r--r--Tests/FindBoost/TestHeaders/main.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/FindBoost/TestHeaders/main.cxx b/Tests/FindBoost/TestHeaders/main.cxx
new file mode 100644
index 0000000..0400d6d
--- /dev/null
+++ b/Tests/FindBoost/TestHeaders/main.cxx
@@ -0,0 +1,9 @@
+#include <boost/any.hpp>
+
+int main() {
+ boost::any a;
+ a = 5;
+ a = std::string("A string");
+
+ return 0;
+}