-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3800b9b
commit 0420183
Showing
3 changed files
with
66 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/**********************************************************\ | ||
This file is part of the | ||
https://github.com/morzhovets/momo | ||
project, distributed under the MIT License. See | ||
https://github.com/morzhovets/momo/blob/master/LICENSE | ||
for details. | ||
test/sources/libcxx/Support.h | ||
\**********************************************************/ | ||
|
||
#pragma once | ||
|
||
#include <cfloat> | ||
#include <string> | ||
#include <cmath> | ||
|
||
//#define LIBCPP_HAS_BAD_NEWS_FOR_MOMO | ||
|
||
#define TEST_STD_VER 20 | ||
|
||
#include "support/test_macros.h" | ||
|
||
#include "support/MoveOnly.h" | ||
#include "support/Copyable.h" | ||
#include "support/NotConstructible.h" | ||
#include "support/DefaultOnly.h" | ||
#include "support/Emplaceable.h" | ||
#include "support/Counter.h" | ||
#include "support/Moveable.h" | ||
#include "support/test_allocator.h" | ||
#include "support/test_iterators.h" | ||
#include "support/test_compare.h" | ||
#include "support/old_test_compare.h" | ||
#include "support/test_hash.h" | ||
#include "support/private_constructor.h" | ||
#include "support/is_transparent.h" | ||
#include "support/test_transparent_unordered.h" | ||
#include "support/test_comparisons.h" | ||
#include "support/emplace_constructible.h" | ||
#include "support/allocators.h" | ||
#include "support/container_test_types.h" | ||
#include "support/deduction_guides_sfinae_checks.h" | ||
#include "support/test_container_comparisons.h" | ||
#include "support/set_allocator_requirement_test_templates.h" | ||
#include "support/map_allocator_requirement_test_templates.h" | ||
#include "support/asan_testing.h" | ||
#include "support/min_allocator.h" | ||
|
||
template<typename It> | ||
using input_iterator = cpp17_input_iterator<It>; | ||
|
||
struct LibcppIntHash | ||
{ | ||
size_t operator()(int key) const noexcept | ||
{ | ||
return static_cast<size_t>(key); | ||
} | ||
}; | ||
|
||
#define LIBCPP_CATCH(expr) try { (void)(expr); assert(false); } catch (...) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,4 +34,4 @@ | |
#include <iostream> | ||
#include <random> | ||
|
||
#include "LibcxxTester.h" | ||
#include "LibcxxTester.h" //? |