Commit 04d3e903 authored by Sergio Costas's avatar Sergio Costas

Checked ELSE

parent 362b3739
......@@ -181,5 +181,8 @@ class Test(unittest.TestCase):
def testIfNoEqNull(self):
self._all_fine_test("unitest/test45.c")
def testIfElseNull(self):
self._all_fine_test("unitest/test46.c")
if __name__ == '__main__':
unittest.main()
typedef __crust_t__ unsigned char *crust_t;
#define NULL ((void *)0)
void main(crust_t param) {
crust_t var2 = (crust_t) 5;
if (param != NULL) {
main(param);
} else {
param = var2;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment