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

Function test

tests/TestConversions.cpp:53–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51\r\n\
52array a;\r\n\
53a.push_back(1); a.push_back(5);\r\n\
54int[] test(){ return { 1, 2 }; }\r\n\
55return int(a[0]) + int(a[1]) + test()[0];";
56TEST_RESULT("Implicit conversion on return from function", testImplicitConversionOnReturn, "7");
57

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected