Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WasmEdge/WasmEdge
/ doit
Function
doit
test/expected/issues.cpp:36–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
struct b : a {};
35
36
static auto doit() -> cxx20::expected<std::unique_ptr<b>, int> {
37
return cxx20::unexpected(0);
38
}
39
40
TEST(RegressionTest, Issue23) {
41
cxx20::expected<std::unique_ptr<a>, int> msg = doit();
Callers
1
TEST
Function · 0.85
Calls
1
unexpected
Class · 0.85
Tested by
no test coverage detected