diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-06-30 20:46:58 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-06-30 20:46:58 +0000 |
commit | 19cf6b6c9330edb16a401b72502ca1e089649ed2 (patch) | |
tree | 071d74ad7428902789f470c3e9dee5188a41f8d6 | |
parent | 8ba86a5a48b95fc7818946790fa8e97cbe98b62d (diff) | |
download | bcm5719-llvm-19cf6b6c9330edb16a401b72502ca1e089649ed2.tar.gz bcm5719-llvm-19cf6b6c9330edb16a401b72502ca1e089649ed2.zip |
Fix C++03 build.
llvm-svn: 274274
5 files changed, 16 insertions, 1 deletions
diff --git a/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/compare_copy_constructible.fail.cpp b/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/compare_copy_constructible.fail.cpp index 270475702af..417120b9eb0 100644 --- a/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/compare_copy_constructible.fail.cpp +++ b/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/compare_copy_constructible.fail.cpp @@ -7,6 +7,9 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++98, c++03 +// The test requires access control SFINAE. + // <unordered_map> // Check that std::unordered_map fails to instantiate if the comparison predicate is diff --git a/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/hash_copy_constructible.fail.cpp b/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/hash_copy_constructible.fail.cpp index 8faebcbf1c9..709b56de245 100644 --- a/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/hash_copy_constructible.fail.cpp +++ b/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/hash_copy_constructible.fail.cpp @@ -7,6 +7,9 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++98, c++03 +// The test requires access control SFINAE. + // <unordered_map> // Check that std::unordered_map fails to instantiate if the hash function is @@ -21,7 +24,7 @@ struct Hash { Hash () {} private: Hash (const Hash &); // declared but not defined - }; +}; int main() { diff --git a/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/compare_copy_constructible.fail.cpp b/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/compare_copy_constructible.fail.cpp index ead4fe00ce4..d3e31484c8b 100644 --- a/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/compare_copy_constructible.fail.cpp +++ b/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/compare_copy_constructible.fail.cpp @@ -7,6 +7,9 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++98, c++03 +// The test requires access control SFINAE. + // <unordered_map> // Check that std::unordered_multimap fails to instantiate if the comparison predicate is diff --git a/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/hash_copy_constructible.fail.cpp b/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/hash_copy_constructible.fail.cpp index 060f96b1fdc..4214f694a20 100644 --- a/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/hash_copy_constructible.fail.cpp +++ b/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/hash_copy_constructible.fail.cpp @@ -7,6 +7,9 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++98, c++03 +// The test requires access control SFINAE. + // <unordered_map> // Check that std::unordered_multimap fails to instantiate if the hash function is diff --git a/libcxx/test/std/thread/futures/futures.overview/future_errc.pass.cpp b/libcxx/test/std/thread/futures/futures.overview/future_errc.pass.cpp index b95a88ee2d0..06397487a73 100644 --- a/libcxx/test/std/thread/futures/futures.overview/future_errc.pass.cpp +++ b/libcxx/test/std/thread/futures/futures.overview/future_errc.pass.cpp @@ -9,6 +9,9 @@ // // UNSUPPORTED: libcpp-has-no-threads +// UNSUPPORTED: c++98, c++03 +// Libc++'s enum class emulation does not allow static_cast<Enum>(0) to work. + // <future> // enum class future_errc |