top | item 46815342

(no title)

Davidbrcz | 1 month ago

For main it's explicitly allowed by the standard, and no return is equal to return 0

discuss

order

direwolf20|1 month ago

which is super weird. If they can tell the compiler to allow no return, only for main, they can also tell it to pretend void return is int return of 0, only for main.