Int function should return a value

With gcc-14 toolchain the dynamic and dynamic-double testcases were
ending up with SIGILL (Illegal instruction) without this update.
This commit is contained in:
Martin Cermak 2024-07-18 07:28:46 +02:00
commit a41d43f84f
2 changed files with 2 additions and 0 deletions

View file

@ -19,6 +19,7 @@ void incr2(void)
int function_name(void)
{
fprintf(stderr, "FUNCTION EXECUTED. VALUE = %i\n", a);
return 0;
}
int main(int argc, char **argv)

View file

@ -14,6 +14,7 @@ void incr(void)
int function_name(void)
{
fprintf(stderr, "FUNCTION EXECUTED. VALUE = %i\n", a);
return 0;
}
int main(int argc, char **argv)