Fix C++03 build.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@274274 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user