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:
Eric Fiselier
2016-06-30 20:46:58 +00:00
parent dd18d90adf
commit 3efb2c901e
5 changed files with 16 additions and 1 deletions

View File

@@ -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

View File

@@ -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() {

View File

@@ -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

View File

@@ -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

View File

@@ -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