MCPcopy Create free account
hub / github.com/WheretIB/nullc / bar

Function bar

tests/TestGC.cpp:465–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463{\r\n\
464 int ref s = new int(0), t = new int(0), r = new int(0);\r\n\
465 return *x + *y + *z;\r\n\
466}\r\n\
467auto bar(){ GC.CollectMemory(); return new int[32]; }\r\n\
468return foo(new int(4), new int(6), new int(40), bar());";
469TEST_RESULT("Checking of temporary varaible stack in GC test", testStackVariablesGC, "50");
470

Callers 7

TestModules.cppFile · 0.70
TestInference.cppFile · 0.70
TestExtra.cppFile · 0.70
TestNumerical.cppFile · 0.70
TestGC.cppFile · 0.70

Calls 1

CollectMemoryMethod · 0.45

Tested by

no test coverage detected