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

Function main

test/core/test_stack_align.c:22–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22int main() {
23 Aligned a;
24 Test(&a.a4, 4);
25 Test(&a.a8, 8);
26 Test(&a.a16, 16);
27 Test(&a.a32, 32);
28
29 intptr_t p = (intptr_t)&a;
30 printf("base align: %ld, %ld, %ld, %ld\n", p%4, p%8, p%16, p%32);
31
32 return 0;
33}
34

Callers

nothing calls this directly

Calls 2

printfFunction · 0.85
TestFunction · 0.70

Tested by

no test coverage detected