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

Function main

test/core/test_stack.c:23–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23int main(int argc, char **argv) {
24 // We should get the same value for the first and last - stack has unwound
25 printf("in main\n");
26 int x1 = test(argc - 2);
27 int x2 = test(100);
28 int x3 = test((argc - 2) / 4);
29 assert(x2 != x1);
30 assert(x3 == x1);
31 printf("*%d,%d*\n", x3 - x1, x2 != x1);
32 return 0;
33}

Callers

nothing calls this directly

Calls 3

printfFunction · 0.85
testFunction · 0.70
assertFunction · 0.50

Tested by

no test coverage detected