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

Function bar

tests/TestClosures.cpp:107–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105{\r\n\
106 int local1 = 5, local2 = 2;\r\n\
107 typeof(foobar) local3 = foobar;\r\n\
108\r\n\
109 int bar(int ref(int[3]) x){ return local3(x); }\r\n\
110 int foo(int[3] x){ return local1 + x[local2]; }\r\n\
111\r\n\
112 result = bar(foo);\r\n\

Callers 1

TestClosures.cppFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected