Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/cppinsights
/ testWhile
Function
testWhile
tests/EduCoroutineExprTest.cpp:131–140 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
129
}
130
131
task<int> testWhile()
132
{
133
task<int> v = get_random();
134
135
while(co_await v) {
136
int y{};
137
}
138
139
co_return 0;
140
}
141
142
task<int> testDoWhile()
143
{
Callers
nothing calls this directly
Calls
1
get_random
Function · 0.70
Tested by
no test coverage detected