implicit return 0 for main

This commit is contained in:
Yaossg 2024-11-30 09:40:52 +08:00
parent 4893f0cd68
commit 50969c6bb9
7 changed files with 36 additions and 27 deletions

View file

@ -2,5 +2,4 @@ int printf(const char* format, ...);
int main() {
printf("hello world %d\n", 42);
return 0;
}