tinycc: scaffold/main.c: running mes-tcc compiled binary #6.
* scaffold/main.c (main): Use variable, if, argc, ++, +=, function call to return 42.
This commit is contained in:
parent
cf107cb2b2
commit
d393fd3743
|
@ -25,8 +25,11 @@ test ()
|
|||
}
|
||||
|
||||
int
|
||||
main ()
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
int a = 40;
|
||||
if (argc == 6) return 42;
|
||||
int a = 39;
|
||||
if (argc > 1) a+=argc;
|
||||
else a++;
|
||||
return a + test ();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue