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

Function main

tests/ConstexprFunctionHandlerTest.cpp:23–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23int main()
24{
25 const int fact = factorial(4);
26 const float factFloat = factorialFloat(4);
27
28 const int d = dummy(4);
29 int fact2 = factorial(4);
30 int fact3 = factorial(fact2);
31 int fact4 = factorial(fact);
32
33 float f = Get();
34 const float f2 = Get();
35
36 return fact + d + factFloat + fact2 + fact3 + fact4;
37}

Callers

nothing calls this directly

Calls 4

factorialFunction · 0.85
factorialFloatFunction · 0.85
dummyFunction · 0.85
GetFunction · 0.85

Tested by

no test coverage detected