1 parent
08b39b8042
commit
89670f8b21
2 files changed
+16
-3
No files matched your search
@@ -100,4 +100,9 @@ struct non_copyable {
|
||||
|
||||
TEST_CASE("Issue 42", "[issues.42]") {
|
||||
tl::expected<non_copyable,int>{}.map([](non_copyable) {});
|
||||
}
|
||||
|
||||
TEST_CASE("Issue 43", "[issues.43]") {
|
||||
auto result = tl::expected<void, std::string>{};
|
||||
result = tl::make_unexpected(std::string{ "foo" });
|
||||
}
|
||||
Reference in new issue
Block a user