Author: marshall Date: Thu Jul 16 17:13:26 2015 New Revision: 242454 URL: http://llvm.org/viewvc/llvm-project?rev=242454&view=rev Log: 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
Modified: libcxx/trunk/test/std/utilities/template.bitset/bitset.cons/char_ptr_ctor.pass.cpp libcxx/trunk/test/std/utilities/template.bitset/bitset.cons/string_ctor.pass.cpp libcxx/trunk/test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cpp Modified: libcxx/trunk/test/std/utilities/template.bitset/bitset.cons/char_ptr_ctor.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/template.bitset/bitset.cons/char_ptr_ctor.pass.cpp?rev=242454&r1=242453&r2=242454&view=diff ============================================================================== --- libcxx/trunk/test/std/utilities/template.bitset/bitset.cons/char_ptr_ctor.pass.cpp (original) +++ libcxx/trunk/test/std/utilities/template.bitset/bitset.cons/char_ptr_ctor.pass.cpp Thu Jul 16 17:13:26 2015 @@ -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" Modified: libcxx/trunk/test/std/utilities/template.bitset/bitset.cons/string_ctor.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/template.bitset/bitset.cons/string_ctor.pass.cpp?rev=242454&r1=242453&r2=242454&view=diff ============================================================================== --- libcxx/trunk/test/std/utilities/template.bitset/bitset.cons/string_ctor.pass.cpp (original) +++ libcxx/trunk/test/std/utilities/template.bitset/bitset.cons/string_ctor.pass.cpp Thu Jul 16 17:13:26 2015 @@ -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" Modified: libcxx/trunk/test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cpp?rev=242454&r1=242453&r2=242454&view=diff ============================================================================== --- libcxx/trunk/test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cpp (original) +++ libcxx/trunk/test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cpp Thu Jul 16 17:13:26 2015 @@ -11,6 +11,7 @@ #include <bitset> #include <cassert> +#include <algorithm> // for 'min' and 'max' #pragma clang diagnostic ignored "-Wtautological-compare" _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits