MCPcopy Create free account
hub / github.com/csmith-project/csmith / arg_check

Function arg_check

src/RandomProgramGenerator.cpp:342–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342void arg_check(int argc, int i)
343{
344 if (i >= argc) {
345 cout << "expect arg at pos " << i << std::endl;
346 exit(-1);
347 }
348}
349
350// ----------------------------------------------------------------------------
351int

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected