MCPcopy Create free account
hub / github.com/AdaptiveCpp/AdaptiveCpp / add_five

Function add_five

tests/device_compilation_tests.cpp:31–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29BOOST_FIXTURE_TEST_SUITE(device_compilation_test_suite, reset_device_fixture)
30
31int add_five(int v) {
32 return v + 5;
33}
34
35void call_lambda(int& v) {
36 ([&](){ v = add_five(v); })();

Callers 2

call_lambdaFunction · 0.85
convertFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected