c-semantics
c-semantics copied to clipboard
Linking should fail when a static function is used but not declared
The following programs compiles and links successfully, but gets stuck at runtime:
static void foo();//{}
int main(){foo();}
But it should fail to link.