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

Function foo

test/core/test_nested_struct_varargs.c:25–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23};
24
25void foo(int unused, ...)
26{
27 va_list vl;
28 va_start(vl, unused);
29 struct C c = va_arg(vl, struct C);
30 va_end(vl);
31
32 printf("%d\n", c.a.x);
33 printf("%f\n", c.b.x);
34 printf("%s\n", c.c);
35}
36
37int main() {
38 struct A a = {

Callers 1

mainFunction · 0.70

Calls 1

printfFunction · 0.85

Tested by

no test coverage detected