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

Function Ken

tests/TestClasses.cpp:475–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473const char *testCustomConstructor2 =
474"{\r\n\
475 class Ken{ int x, y; void Ken(int x){ this.x = x; } }\r\n\
476\r\n\
477 auto z = new Ken(2){ y = 6; };\r\n\
478 assert(z.x == 2);\r\n\

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected