MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / main

Function main

test/browser/async_virtual.cpp:26–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24BatchFile *bf = &b;
25
26int main(void) {
27 printf("main.\n");
28 int cnt = 0;
29 int result = 0;
30 while (cnt < 5) {
31 printf("main loop %i\n", ++cnt);
32 result += bf->ReadLine(0);
33 }
34 assert(result == 5);
35 return 0;
36}
37

Callers

nothing calls this directly

Calls 3

printfFunction · 0.85
ReadLineMethod · 0.80
assertFunction · 0.50

Tested by

no test coverage detected