commit | 2af7d42fe3016016e7374dd2067b68ff87a19eef | [log] [tgz] |
---|---|---|
author | Marshall Clow <mclow.lists@gmail.com> | Thu Jul 16 22:13:26 2015 +0000 |
committer | Marshall Clow <mclow.lists@gmail.com> | Thu Jul 16 22:13:26 2015 +0000 |
tree | 340475fde051d712d86581fe026ad8e5db3ed596 | |
parent | 7efdd696885bf75abc6da77b31b51c4d8ead22d9 [diff] |
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 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@242454 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/std/utilities/template.bitset/bitset.cons/char_ptr_ctor.pass.cpp b/test/std/utilities/template.bitset/bitset.cons/char_ptr_ctor.pass.cpp index 7fe78ba..df5ec4a 100644 --- a/test/std/utilities/template.bitset/bitset.cons/char_ptr_ctor.pass.cpp +++ b/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/test/std/utilities/template.bitset/bitset.cons/string_ctor.pass.cpp b/test/std/utilities/template.bitset/bitset.cons/string_ctor.pass.cpp index bcee50c..98083f8 100644 --- a/test/std/utilities/template.bitset/bitset.cons/string_ctor.pass.cpp +++ b/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/test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cpp b/test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cpp index 023fedc..f232447 100644 --- a/test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cpp +++ b/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"