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

Function test3

tests/TestImplicitArray.cpp:43–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41"import std.math;\r\n\
42int test(int a, int b, int c){ return a*b+c; }\r\n\
43float test2(float4 b){ return b.x-b.y; }\r\n\
44int test3(char[] ch){ return ch.size; }\r\n\
45\r\n\
46int kl = test(2, 3, 4);\r\n\
47float4 kl2; kl2.x = 5.0; kl2.y = 3.0;\r\n\

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected