summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/template.bitset
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2015-07-16 22:13:26 +0000
committerMarshall Clow <mclow.lists@gmail.com>2015-07-16 22:13:26 +0000
commit9c9b0ec554e36f95f9ed9e2c9bfe5dc113a8cf11 (patch)
tree2e63ff095eee2c1c8779674766e322b890359a0f /libcxx/test/std/utilities/template.bitset
parent1bc87776ecb7c9b4ca3c1360b896e2fbec826f09 (diff)
downloadbcm5719-llvm-9c9b0ec554e36f95f9ed9e2c9bfe5dc113a8cf11.tar.gz
bcm5719-llvm-9c9b0ec554e36f95f9ed9e2c9bfe5dc113a8cf11.zip
Include what we use, instead of letting them get pulled in implictly. This makes the tests work on VS. Thanks to STL for the report
llvm-svn: 242454
Diffstat (limited to 'libcxx/test/std/utilities/template.bitset')
-rw-r--r--libcxx/test/std/utilities/template.bitset/bitset.cons/char_ptr_ctor.pass.cpp2
-rw-r--r--libcxx/test/std/utilities/template.bitset/bitset.cons/string_ctor.pass.cpp2
-rw-r--r--libcxx/test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cpp1
3 files changed, 5 insertions, 0 deletions
diff --git a/libcxx/test/std/utilities/template.bitset/bitset.cons/char_ptr_ctor.pass.cpp b/libcxx/test/std/utilities/template.bitset/bitset.cons/char_ptr_ctor.pass.cpp
index 7fe78bad1cc..df5ec4afb84 100644
--- a/libcxx/test/std/utilities/template.bitset/bitset.cons/char_ptr_ctor.pass.cpp
+++ b/libcxx/test/std/utilities/template.bitset/bitset.cons/char_ptr_ctor.pass.cpp
@@ -14,6 +14,8 @@
#include <bitset>
#include <cassert>
+#include <algorithm> // for 'min' and 'max'
+#include <stdexcept> // for 'invalid_argument'
#pragma clang diagnostic ignored "-Wtautological-compare"
diff --git a/libcxx/test/std/utilities/template.bitset/bitset.cons/string_ctor.pass.cpp b/libcxx/test/std/utilities/template.bitset/bitset.cons/string_ctor.pass.cpp
index bcee50c4c63..98083f8c906 100644
--- a/libcxx/test/std/utilities/template.bitset/bitset.cons/string_ctor.pass.cpp
+++ b/libcxx/test/std/utilities/template.bitset/bitset.cons/string_ctor.pass.cpp
@@ -11,6 +11,8 @@
#include <bitset>
#include <cassert>
+#include <algorithm> // for 'min' and 'max'
+#include <stdexcept> // for 'invalid_argument'
#pragma clang diagnostic ignored "-Wtautological-compare"
diff --git a/libcxx/test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cpp b/libcxx/test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cpp
index 023fedc2583..f232447e08c 100644
--- a/libcxx/test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cpp
+++ b/libcxx/test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cpp
@@ -11,6 +11,7 @@
#include <bitset>
#include <cassert>
+#include <algorithm> // for 'min' and 'max'
#pragma clang diagnostic ignored "-Wtautological-compare"
OpenPOWER on IntegriCloud