MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / testIfStmt

Function testIfStmt

tests/EduCoroutineExprTest.cpp:96–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 co_return xres + co_await v;
95}
96task<int> testIfStmt()
97{
98 task<int> v = get_random();
99 task<int> u = get_random();
100
101 if(co_await v + co_await u)
102 {
103 Funa(Funa(co_await v));
104 } else {
105 auto w = co_await v;
106 }
107
108 co_return 0;
109}
110
111task<int> testCallExpr()
112{

Callers

nothing calls this directly

Calls 1

get_randomFunction · 0.70

Tested by

no test coverage detected