This commit is contained in:
Simon Brand committed 2018-08-30 08:43:09 +01:00
1 parent 5cb2aaa34e
commit 6a2bc3888f
2 files changed
+18 -4

No files matched your search

+4
View File
@@ -68,4 +68,8 @@ struct i31{
TEST_CASE("Issue 31", "[issues.31]") {
const tl::expected<i31, int> a = i31{42};
a->i;
tl::expected< void, std::string > result;
tl::expected< void, std::string > result2 = result;
result2 = result;
}