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

Function main

tests/LoopStatementsTest.cpp:1–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1int main()
2{
3 for(int i=0; i < 2; ++i);
4
5 for(int i=0; i < 2; ++i) {
6
7 }
8
9 for(int i{0}; i < 2; i++);
10
11 int x;
12 for( x=0; x < 2; ++x){}
13
14 for(; x < 4; ++x){}
15
16 for(;; ++x) {}
17
18 for( ;; ) {}
19}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected