tinycc: scaffold/main.c: running mes-tcc compiled binary #5.
* scaffold/main.c (main): Use function call and variable to return 42.
This commit is contained in:
parent
a2bc80fe7b
commit
cf107cb2b2
|
@ -19,13 +19,14 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
main ()//int argc, char *argv[])
|
test ()
|
||||||
{
|
{
|
||||||
#if 1
|
return 2;
|
||||||
int a = 40;
|
}
|
||||||
int b = 2;
|
|
||||||
return a + b;
|
int
|
||||||
#else
|
main ()
|
||||||
return 42;
|
{
|
||||||
#endif
|
int a = 40;
|
||||||
|
return a + test ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue