MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / main

Function main

tests/ForStmtMultipleInitsTest.cpp:1–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1int main()
2{
3 int x = 0;
4
5 for(int i = 0, y=2, t=4, o=5; i < 20; ++i) {
6 x += i;
7 }
8
9 for(int *i = &x, *y=&x , *z=&x; i ; ++i) {
10 x += *i;
11 }
12}
13

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected