an empty source file triggers undefined behavior in C
-
-
-
An empty translation unit requires a diagnostic in C, so not undefined behaviorhttps://twitter.com/shafikyaghmour/status/1099109959294304257 …
End of conversation
New conversation -
-
-
It does if there's zero lines of tests and requirements, too.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
A popular example is http://vanilla-js.com/
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
See this tweet for details for both C and C++ (which does not have this restriction)