summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2014-03-11 16:22:53 +0000
committerMarshall Clow <mclow.lists@gmail.com>2014-03-11 16:22:53 +0000
commitb70830612848919416ec1058b2724956e5dd39b5 (patch)
tree17ea00b5fb809d5a69f224ef2e936b433d9d3612 /libcxx/test
parent6c37f8b9856a1c01688378b4957fe31a5bdfb7a2 (diff)
downloadbcm5719-llvm-b70830612848919416ec1058b2724956e5dd39b5.tar.gz
bcm5719-llvm-b70830612848919416ec1058b2724956e5dd39b5.zip
Patch from Steve MacKenzie to make the libc++ tests play nicely with MSVC's STL. Add '#include <functional>' to four of the priority queue tests.
llvm-svn: 203584
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/assign_copy.pass.cpp1
-rw-r--r--libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/ctor_comp_container.pass.cpp1
-rw-r--r--libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/ctor_copy.pass.cpp1
-rw-r--r--libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter_comp.pass.cpp1
4 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/assign_copy.pass.cpp b/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/assign_copy.pass.cpp
index 71353aea9f8..82e44b414f6 100644
--- a/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/assign_copy.pass.cpp
+++ b/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/assign_copy.pass.cpp
@@ -13,6 +13,7 @@
#include <queue>
#include <cassert>
+#include <functional>
template <class C>
C
diff --git a/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/ctor_comp_container.pass.cpp b/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/ctor_comp_container.pass.cpp
index de96cd92df0..2c73cbc62c6 100644
--- a/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/ctor_comp_container.pass.cpp
+++ b/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/ctor_comp_container.pass.cpp
@@ -13,6 +13,7 @@
#include <queue>
#include <cassert>
+#include <functional>
template <class C>
C
diff --git a/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/ctor_copy.pass.cpp b/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/ctor_copy.pass.cpp
index 84839b14baf..f1129bc1bbc 100644
--- a/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/ctor_copy.pass.cpp
+++ b/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/ctor_copy.pass.cpp
@@ -13,6 +13,7 @@
#include <queue>
#include <cassert>
+#include <functional>
template <class C>
C
diff --git a/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter_comp.pass.cpp b/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter_comp.pass.cpp
index bb3cde91c91..17a698c15df 100644
--- a/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter_comp.pass.cpp
+++ b/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter_comp.pass.cpp
@@ -14,6 +14,7 @@
#include <queue>
#include <cassert>
+#include <functional>
int main()
{
OpenPOWER on IntegriCloud