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

Function func

tests/TestIndirectCall.cpp:7–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5\r\n\
6farr[0] = auto(int c){ return -c; };\r\n\
7farr[1] = auto(int d){ return 2*d; };\r\n\
8\r\n\
9int ref(int) func(int i){ return farr[i]; }\r\n\
10typeof(func) farr2 = func;\r\n\
11auto getarr(){ return { farr[1], farr[0] }; }\r\n\
12\r\n\

Callers 1

Calls 1

autoFunction · 0.70

Tested by

no test coverage detected