Open tstreiff opened 4 years ago
void exit(int); int main() { exit(1); }
is compiled and executed correctly.
int main() { void exit(int); exit(1); }
raises an exception in the front-end
File "/home/tsf/sandbox/ppci/ppci/lang/c/codegenerator.py", line 1373, in gen_variable_access value = self.ir_var_map[declaration] KeyError: Function storage=None typ=Function-type name=exit
is compiled and executed correctly.
raises an exception in the front-end